VirtualBox

source: vbox/trunk/src/VBox/ValidationKit/utils/audio/vkatInternal.h@ 91749

Last change on this file since 91749 was 91632, checked in by vboxsync, 3 years ago

Audio/Validation Kit: Factored out general I/O options into AUDIOTESTIOOPTS to also support setting the master volume besides the test tone volume, as function parameter lists already were too big. Also uniformed the command line volume arguments a little ("--vol vs. --volume" everywhere). ​bugref:10008

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 20.8 KB
Line 
1/* $Id: vkatInternal.h 91632 2021-10-08 06:59:29Z vboxsync $ */
2/** @file
3 * VKAT - Internal header file for common definitions + structs.
4 */
5
6/*
7 * Copyright (C) 2021 Oracle Corporation
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License (GPL) as published by the Free Software
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16 *
17 * The contents of this file may alternatively be used under the terms
18 * of the Common Development and Distribution License Version 1.0
19 * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
20 * VirtualBox OSE distribution, in which case the provisions of the
21 * CDDL are applicable instead of those of the GPL.
22 *
23 * You may elect to license modified versions of this file under the
24 * terms and conditions of either the GPL or the CDDL or both.
25 */
26
27#ifndef VBOX_INCLUDED_SRC_audio_vkatInternal_h
28#define VBOX_INCLUDED_SRC_audio_vkatInternal_h
29#ifndef RT_WITHOUT_PRAGMA_ONCE
30# pragma once
31#endif
32
33
34/*********************************************************************************************************************************
35* Header Files *
36*********************************************************************************************************************************/
37#include <iprt/getopt.h>
38
39#include <VBox/vmm/pdmdrv.h>
40#include <VBox/vmm/pdmaudioinline.h>
41#include <VBox/vmm/pdmaudiohostenuminline.h>
42
43#include "Audio/AudioMixBuffer.h"
44#include "Audio/AudioTest.h"
45#include "Audio/AudioTestService.h"
46#include "Audio/AudioTestServiceClient.h"
47
48#include "VBoxDD.h"
49
50
51/*********************************************************************************************************************************
52* Structures and Typedefs *
53*********************************************************************************************************************************/
54/**
55 * Audio driver stack.
56 *
57 * This can be just be backend driver alone or DrvAudio with a backend.
58 * @todo add automatic resampling via mixer so we can test more of the audio
59 * stack used by the device emulations.
60 */
61typedef struct AUDIOTESTDRVSTACK
62{
63 /** The device registration record for the backend. */
64 PCPDMDRVREG pDrvReg;
65 /** The backend driver instance. */
66 PPDMDRVINS pDrvBackendIns;
67 /** The backend's audio interface. */
68 PPDMIHOSTAUDIO pIHostAudio;
69
70 /** The DrvAudio instance. */
71 PPDMDRVINS pDrvAudioIns;
72 /** This is NULL if we don't use DrvAudio. */
73 PPDMIAUDIOCONNECTOR pIAudioConnector;
74
75 /** The current (last) audio device enumeration to use. */
76 PDMAUDIOHOSTENUM DevEnum;
77} AUDIOTESTDRVSTACK;
78/** Pointer to an audio driver stack. */
79typedef AUDIOTESTDRVSTACK *PAUDIOTESTDRVSTACK;
80
81/**
82 * Backend-only stream structure.
83 */
84typedef struct AUDIOTESTDRVSTACKSTREAM
85{
86 /** The public stream data. */
87 PDMAUDIOSTREAM Core;
88 /** The backend data (variable size). */
89 PDMAUDIOBACKENDSTREAM Backend;
90} AUDIOTESTDRVSTACKSTREAM;
91/** Pointer to a backend-only stream structure. */
92typedef AUDIOTESTDRVSTACKSTREAM *PAUDIOTESTDRVSTACKSTREAM;
93
94/**
95 * Mixer setup for a stream.
96 */
97typedef struct AUDIOTESTDRVMIXSTREAM
98{
99 /** Pointer to the driver stack. */
100 PAUDIOTESTDRVSTACK pDrvStack;
101 /** Pointer to the stream. */
102 PPDMAUDIOSTREAM pStream;
103 /** Properties to use. */
104 PCPDMAUDIOPCMPROPS pProps;
105 /** Set if we're mixing or just passing thru to the driver stack. */
106 bool fDoMixing;
107 /** Mixer buffer. */
108 AUDIOMIXBUF MixBuf;
109 /** Write state. */
110 AUDIOMIXBUFWRITESTATE WriteState;
111 /** Peek state. */
112 AUDIOMIXBUFPEEKSTATE PeekState;
113} AUDIOTESTDRVMIXSTREAM;
114/** Pointer to mixer setup for a stream. */
115typedef AUDIOTESTDRVMIXSTREAM *PAUDIOTESTDRVMIXSTREAM;
116
117/**
118 * Enumeration specifying the current audio test mode.
119 */
120typedef enum AUDIOTESTMODE
121{
122 /** Unknown mode. */
123 AUDIOTESTMODE_UNKNOWN = 0,
124 /** VKAT is running on the guest side. */
125 AUDIOTESTMODE_GUEST,
126 /** VKAT is running on the host side. */
127 AUDIOTESTMODE_HOST
128} AUDIOTESTMODE;
129
130struct AUDIOTESTENV;
131/** Pointer a audio test environment. */
132typedef AUDIOTESTENV *PAUDIOTESTENV;
133
134struct AUDIOTESTDESC;
135/** Pointer a audio test descriptor. */
136typedef AUDIOTESTDESC *PAUDIOTESTDESC;
137
138/**
139 * Callback to set up the test parameters for a specific test.
140 *
141 * @returns IPRT status code.
142 * @retval VINF_SUCCESS if setting the parameters up succeeded. Any other error code
143 * otherwise indicating the kind of error.
144 * @param pszTest Test name.
145 * @param pTstParmsAcq The audio test parameters to set up.
146 */
147typedef DECLCALLBACKTYPE(int, FNAUDIOTESTSETUP,(PAUDIOTESTENV pTstEnv, PAUDIOTESTDESC pTstDesc, PAUDIOTESTPARMS pTstParmsAcq, void **ppvCtx));
148/** Pointer to an audio test setup callback. */
149typedef FNAUDIOTESTSETUP *PFNAUDIOTESTSETUP;
150
151typedef DECLCALLBACKTYPE(int, FNAUDIOTESTEXEC,(PAUDIOTESTENV pTstEnv, void *pvCtx, PAUDIOTESTPARMS pTstParms));
152/** Pointer to an audio test exec callback. */
153typedef FNAUDIOTESTEXEC *PFNAUDIOTESTEXEC;
154
155typedef DECLCALLBACKTYPE(int, FNAUDIOTESTDESTROY,(PAUDIOTESTENV pTstEnv, void *pvCtx));
156/** Pointer to an audio test destroy callback. */
157typedef FNAUDIOTESTDESTROY *PFNAUDIOTESTDESTROY;
158
159/**
160 * Structure for keeping an audio test audio stream.
161 */
162typedef struct AUDIOTESTSTREAM
163{
164 /** The PDM stream. */
165 PPDMAUDIOSTREAM pStream;
166 /** The backend stream. */
167 PPDMAUDIOBACKENDSTREAM pBackend;
168 /** The stream config. */
169 PDMAUDIOSTREAMCFG Cfg;
170 /** Associated mixing stream. Optional. */
171 AUDIOTESTDRVMIXSTREAM Mix;
172} AUDIOTESTSTREAM;
173/** Pointer to audio test stream. */
174typedef AUDIOTESTSTREAM *PAUDIOTESTSTREAM;
175
176/** Maximum audio streams a test environment can handle. */
177#define AUDIOTESTENV_MAX_STREAMS 8
178
179/**
180 * Structure for keeping TCP/IP-specific options.
181 */
182typedef struct AUDIOTESTENVTCPOPTS
183{
184 /** Connection mode(s) to use. */
185 ATSCONNMODE enmConnMode;
186 /** Bind address (server mode). When empty, "0.0.0.0" (any host) will be used. */
187 char szBindAddr[128];
188 /** Bind port (server mode). */
189 uint16_t uBindPort;
190 /** Connection address (client mode). */
191 char szConnectAddr[128];
192 /** Connection port (client mode). */
193 uint16_t uConnectPort;
194} AUDIOTESTENVTCPOPTS;
195/** Pointer to audio test TCP options. */
196typedef AUDIOTESTENVTCPOPTS *PAUDIOTESTENVTCPOPTS;
197
198/**
199 * Structure holding additional I/O options.
200 */
201typedef struct AUDIOTESTIOOPTS
202{
203 /** Whether to use the audio connector or not. */
204 bool fWithDrvAudio;
205 /** Whether to use a mixing buffer or not. */
206 bool fWithMixer;
207 /** Buffer size (in ms). */
208 uint32_t cMsBufferSize;
209 /** Pre-buffering size (in ms). */
210 uint32_t cMsPreBuffer;
211 /** Scheduling (in ms). */
212 uint32_t cMsSchedulingHint;
213 /** Audio vlume to use (in percent). */
214 uint8_t uVolumePercent;
215 /** PCM audio properties to use. */
216 PDMAUDIOPCMPROPS Props;
217} AUDIOTESTIOOPTS;
218/** Pointer to additional playback options. */
219typedef AUDIOTESTIOOPTS *PAUDIOTESTIOOPTS;
220
221/**
222 * Structure for keeping a user context for the test service callbacks.
223 */
224typedef struct ATSCALLBACKCTX
225{
226 /** The test environment bound to this context. */
227 PAUDIOTESTENV pTstEnv;
228 /** Absolute path to the packed up test set archive.
229 * Keep it simple for now and only support one (open) archive at a time. */
230 char szTestSetArchive[RTPATH_MAX];
231 /** File handle to the (opened) test set archive for reading. */
232 RTFILE hTestSetArchive;
233 /** Number of currently connected clients. */
234 uint8_t cClients;
235} ATSCALLBACKCTX;
236typedef ATSCALLBACKCTX *PATSCALLBACKCTX;
237
238/**
239 * Audio test environment parameters.
240 * Not necessarily bound to a specific test (can be reused).
241 */
242typedef struct AUDIOTESTENV
243{
244 /** Audio testing mode. */
245 AUDIOTESTMODE enmMode;
246 /** Whether self test mode is active or not. */
247 bool fSelftest;
248 /** Whether skip the actual verification or not. */
249 bool fSkipVerify;
250 /** Name of the audio device to use.
251 * If empty the default audio device will be used. */
252 char szDev[128];
253 /** Number of iterations for *all* tests specified.
254 * When set to 0 (default), a random value (see specific test) will be chosen. */
255 uint32_t cIterations;
256 /** I/O options to use. */
257 AUDIOTESTIOOPTS IoOpts;
258 /** Test tone parameters to use. */
259 AUDIOTESTTONEPARMS ToneParms;
260 /** Output path for storing the test environment's final test files. */
261 char szTag[AUDIOTEST_TAG_MAX];
262 /** Output path for storing the test environment's final test files. */
263 char szPathOut[RTPATH_MAX];
264 /** Temporary path for this test environment. */
265 char szPathTemp[RTPATH_MAX];
266 /** Pointer to audio test driver stack to use. */
267 PAUDIOTESTDRVSTACK pDrvStack;
268 /** Audio stream. */
269 AUDIOTESTSTREAM aStreams[AUDIOTESTENV_MAX_STREAMS];
270 /** The audio test set to use. */
271 AUDIOTESTSET Set;
272 /** TCP options to use for ATS. */
273 AUDIOTESTENVTCPOPTS TcpOpts;
274 /** ATS server instance to use.
275 * NULL if not in use. */
276 PATSSERVER pSrv;
277 /** ATS callback context to use. */
278 ATSCALLBACKCTX CallbackCtx;
279 union
280 {
281 struct
282 {
283 /** Client connected to the ATS on the guest side. */
284 ATSCLIENT AtsClGuest;
285 /** Path to the guest's test set downloaded to the host. */
286 char szPathTestSetGuest[RTPATH_MAX];
287 /** Client connected to the Validation Kit audio driver ATS. */
288 ATSCLIENT AtsClValKit;
289 /** Path to the Validation Kit audio driver's test set downloaded to the host. */
290 char szPathTestSetValKit[RTPATH_MAX];
291 } Host;
292 } u;
293} AUDIOTESTENV;
294
295/**
296 * Audio test descriptor.
297 */
298typedef struct AUDIOTESTDESC
299{
300 /** (Sort of) Descriptive test name. */
301 const char *pszName;
302 /** Flag whether the test is excluded. */
303 bool fExcluded;
304 /** The setup callback. */
305 PFNAUDIOTESTSETUP pfnSetup;
306 /** The exec callback. */
307 PFNAUDIOTESTEXEC pfnExec;
308 /** The destruction callback. */
309 PFNAUDIOTESTDESTROY pfnDestroy;
310} AUDIOTESTDESC;
311
312/**
313 * Backend description.
314 */
315typedef struct AUDIOTESTBACKENDDESC
316{
317 /** The driver registration structure. */
318 PCPDMDRVREG pDrvReg;
319 /** The backend name.
320 * Aliases are implemented by having multiple entries for the same backend. */
321 const char *pszName;
322} AUDIOTESTBACKENDDESC;
323
324/**
325 * VKAT command table entry.
326 */
327typedef struct VKATCMD
328{
329 /** The command name. */
330 const char *pszCommand;
331 /** The command handler. */
332 DECLCALLBACKMEMBER(RTEXITCODE, pfnHandler,(PRTGETOPTSTATE pGetState));
333
334 /** Command description. */
335 const char *pszDesc;
336 /** Options array. */
337 PCRTGETOPTDEF paOptions;
338 /** Number of options in the option array. */
339 size_t cOptions;
340 /** Gets help for an option. */
341 DECLCALLBACKMEMBER(const char *, pfnOptionHelp,(PCRTGETOPTDEF pOpt));
342 /** Flag indicating if the command needs the ATS transport layer.
343 * Needed for command line parsing. */
344 bool fNeedsTransport;
345} VKATCMD;
346/** Pointer to a const VKAT command entry. */
347typedef VKATCMD const *PCVKATCMD;
348
349
350/*********************************************************************************************************************************
351* Global Variables *
352*********************************************************************************************************************************/
353/** Terminate ASAP if set. Set on Ctrl-C. */
354extern bool volatile g_fTerminate;
355/** The release logger. */
356extern PRTLOGGER g_pRelLogger;
357
358/** The test handle. */
359extern RTTEST g_hTest;
360extern unsigned g_uVerbosity;
361extern bool g_fDrvAudioDebug;
362extern const char *g_pszDrvAudioDebug;
363
364/** The test handle. */
365extern RTTEST g_hTest;
366/** The current verbosity level. */
367extern unsigned g_uVerbosity;
368/** DrvAudio: Enable debug (or not). */
369extern bool g_fDrvAudioDebug;
370/** DrvAudio: The debug output path. */
371extern const char *g_pszDrvAudioDebug;
372
373extern const VKATCMD g_CmdEnum;
374extern const VKATCMD g_CmdPlay;
375extern const VKATCMD g_CmdRec;
376extern const VKATCMD g_CmdSelfTest;
377
378extern AUDIOTESTDESC g_aTests[];
379extern unsigned g_cTests;
380
381extern AUDIOTESTBACKENDDESC const g_aBackends[];
382extern unsigned g_cBackends;
383
384
385/*********************************************************************************************************************************
386* Prototypes *
387*********************************************************************************************************************************/
388
389/** @name Command line handlers
390 * @{ */
391RTEXITCODE audioTestUsage(PRTSTREAM pStrm);
392RTEXITCODE audioTestVersion(void);
393void audioTestShowLogo(PRTSTREAM pStream);
394/** @} */
395
396/** @name Driver stack
397 * @{ */
398void audioTestDriverStackDelete(PAUDIOTESTDRVSTACK pDrvStack);
399int audioTestDriverStackInitEx(PAUDIOTESTDRVSTACK pDrvStack, PCPDMDRVREG pDrvReg, bool fEnabledIn, bool fEnabledOut, bool fWithDrvAudio);
400int audioTestDriverStackInit(PAUDIOTESTDRVSTACK pDrvStack, PCPDMDRVREG pDrvReg, bool fWithDrvAudio);
401int audioTestDriverStackProbe(PAUDIOTESTDRVSTACK pDrvStack, PCPDMDRVREG pDrvReg, bool fEnabledIn, bool fEnabledOut, bool fWithDrvAudio);
402int audioTestDriverStackSetDevice(PAUDIOTESTDRVSTACK pDrvStack, PDMAUDIODIR enmDir, const char *pszDevId);
403/** @} */
404
405/** @name Driver
406 * @{ */
407int audioTestDrvConstruct(PAUDIOTESTDRVSTACK pDrvStack, PCPDMDRVREG pDrvReg, PPDMDRVINS pParentDrvIns, PPPDMDRVINS ppDrvIns);
408/** @} */
409
410/** @name Driver stack stream
411 * @{ */
412int audioTestDriverStackStreamCreateInput(PAUDIOTESTDRVSTACK pDrvStack, PCPDMAUDIOPCMPROPS pProps,
413 uint32_t cMsBufferSize, uint32_t cMsPreBuffer, uint32_t cMsSchedulingHint,
414 PPDMAUDIOSTREAM *ppStream, PPDMAUDIOSTREAMCFG pCfgAcq);
415int audioTestDriverStackStreamCreateOutput(PAUDIOTESTDRVSTACK pDrvStack, PCPDMAUDIOPCMPROPS pProps,
416 uint32_t cMsBufferSize, uint32_t cMsPreBuffer, uint32_t cMsSchedulingHint,
417 PPDMAUDIOSTREAM *ppStream, PPDMAUDIOSTREAMCFG pCfgAcq);
418void audioTestDriverStackStreamDestroy(PAUDIOTESTDRVSTACK pDrvStack, PPDMAUDIOSTREAM pStream);
419int audioTestDriverStackStreamDrain(PAUDIOTESTDRVSTACK pDrvStack, PPDMAUDIOSTREAM pStream, bool fSync);
420int audioTestDriverStackStreamEnable(PAUDIOTESTDRVSTACK pDrvStack, PPDMAUDIOSTREAM pStream);
421int AudioTestDriverStackStreamDisable(PAUDIOTESTDRVSTACK pDrvStack, PPDMAUDIOSTREAM pStream);
422bool audioTestDriverStackStreamIsOkay(PAUDIOTESTDRVSTACK pDrvStack, PPDMAUDIOSTREAM pStream);
423uint32_t audioTestDriverStackStreamGetWritable(PAUDIOTESTDRVSTACK pDrvStack, PPDMAUDIOSTREAM pStream);
424int audioTestDriverStackStreamPlay(PAUDIOTESTDRVSTACK pDrvStack, PPDMAUDIOSTREAM pStream, void const *pvBuf,
425 uint32_t cbBuf, uint32_t *pcbPlayed);
426uint32_t audioTestDriverStackStreamGetReadable(PAUDIOTESTDRVSTACK pDrvStack, PPDMAUDIOSTREAM pStream);
427int audioTestDriverStackStreamCapture(PAUDIOTESTDRVSTACK pDrvStack, PPDMAUDIOSTREAM pStream,
428 void *pvBuf, uint32_t cbBuf, uint32_t *pcbCaptured);
429/** @} */
430
431/** @name Backend handling
432 * @{ */
433PCPDMDRVREG AudioTestGetDefaultBackend(void);
434PCPDMDRVREG AudioTestFindBackendOpt(const char *pszBackend);
435/** @} */
436
437/** @name Mixing stream
438 * @{ */
439int AudioTestMixStreamInit(PAUDIOTESTDRVMIXSTREAM pMix, PAUDIOTESTDRVSTACK pDrvStack, PPDMAUDIOSTREAM pStream,
440 PCPDMAUDIOPCMPROPS pProps, uint32_t cMsBuffer);
441void AudioTestMixStreamTerm(PAUDIOTESTDRVMIXSTREAM pMix);
442int AudioTestMixStreamEnable(PAUDIOTESTDRVMIXSTREAM pMix);
443int AudioTestMixStreamDrain(PAUDIOTESTDRVMIXSTREAM pMix, bool fSync);
444int AudioTestMixStreamDisable(PAUDIOTESTDRVMIXSTREAM pMix);
445bool AudioTestMixStreamIsOkay(PAUDIOTESTDRVMIXSTREAM pMix);
446uint32_t AudioTestMixStreamGetWritable(PAUDIOTESTDRVMIXSTREAM pMix);
447int AudioTestMixStreamPlay(PAUDIOTESTDRVMIXSTREAM pMix, void const *pvBuf, uint32_t cbBuf, uint32_t *pcbPlayed);
448uint32_t AudioTestMixStreamGetReadable(PAUDIOTESTDRVMIXSTREAM pMix);
449int AudioTestMixStreamCapture(PAUDIOTESTDRVMIXSTREAM pMix, void *pvBuf, uint32_t cbBuf, uint32_t *pcbCaptured);
450void AudioTestMixStreamSetVolume(PAUDIOTESTDRVMIXSTREAM pMix, uint8_t uVolumePercent);
451/** @} */
452
453/** @name Device handling
454 * @{ */
455int audioTestDeviceOpen(PPDMAUDIOHOSTDEV pDev);
456int audioTestDeviceClose(PPDMAUDIOHOSTDEV pDev);
457
458int audioTestDevicesEnumerateAndCheck(PAUDIOTESTDRVSTACK pDrvStack, const char *pszDev, PPDMAUDIOHOSTDEV *ppDev);
459/** @} */
460
461/** @name ATS routines
462 * @{ */
463int audioTestEnvConnectToValKitAts(PAUDIOTESTENV pTstEnv,
464 const char *pszHostTcpAddr, uint32_t uHostTcpPort);
465/** @} */
466
467/** @name Test environment handling
468 * @{ */
469void audioTestEnvInit(PAUDIOTESTENV pTstEnv);
470int audioTestEnvCreate(PAUDIOTESTENV pTstEnv, PAUDIOTESTDRVSTACK pDrvStack);
471void audioTestEnvDestroy(PAUDIOTESTENV pTstEnv);
472int audioTestEnvPrologue(PAUDIOTESTENV pTstEnv, bool fPack, char *pszPackFile, size_t cbPackFile);
473
474void audioTestParmsInit(PAUDIOTESTPARMS pTstParms);
475void audioTestParmsDestroy(PAUDIOTESTPARMS pTstParms);
476/** @} */
477
478int audioTestWorker(PAUDIOTESTENV pTstEnv);
479
480/** @todo Test tone handling */
481int audioTestPlayTone(PAUDIOTESTIOOPTS pIoOpts, PAUDIOTESTENV pTstEnv, PAUDIOTESTSTREAM pStream, PAUDIOTESTTONEPARMS pParms);
482void audioTestToneParmsInit(PAUDIOTESTTONEPARMS pToneParms);
483/** @} */
484
485void audioTestIoOptsInitDefaults(PAUDIOTESTIOOPTS pIoOpts);
486
487/*********************************************************************************************************************************
488* Common command line stuff *
489*********************************************************************************************************************************/
490
491/**
492 * Common long options values.
493 */
494enum
495{
496 AUDIO_TEST_OPT_CMN_DAEMONIZE = 256,
497 AUDIO_TEST_OPT_CMN_DAEMONIZED,
498 AUDIO_TEST_OPT_CMN_DEBUG_AUDIO_ENABLE,
499 AUDIO_TEST_OPT_CMN_DEBUG_AUDIO_PATH
500};
501
502/** For use in the option switch to handle common options. */
503#define AUDIO_TEST_COMMON_OPTION_CASES(a_ValueUnion) \
504 case 'q': \
505 g_uVerbosity = 0; \
506 if (g_pRelLogger) \
507 RTLogGroupSettings(g_pRelLogger, "all=0 all.e"); \
508 break; \
509 \
510 case 'v': \
511 g_uVerbosity++; \
512 if (g_pRelLogger) \
513 RTLogGroupSettings(g_pRelLogger, g_uVerbosity == 1 ? "all.e.l" : g_uVerbosity == 2 ? "all.e.l.f" : "all=~0"); \
514 break; \
515 \
516 case 'V': \
517 return audioTestVersion(); \
518 \
519 case 'h': \
520 audioTestShowLogo(g_pStdOut); \
521 return audioTestUsage(g_pStdOut); \
522 \
523 case AUDIO_TEST_OPT_CMN_DEBUG_AUDIO_ENABLE: \
524 g_fDrvAudioDebug = true; \
525 break; \
526 \
527 case AUDIO_TEST_OPT_CMN_DEBUG_AUDIO_PATH: \
528 g_pszDrvAudioDebug = (a_ValueUnion).psz; \
529 break; \
530 case AUDIO_TEST_OPT_CMN_DAEMONIZE: \
531 break; \
532 case AUDIO_TEST_OPT_CMN_DAEMONIZED: \
533 break;
534
535#endif /* !VBOX_INCLUDED_SRC_audio_vkatInternal_h */
536
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette