VirtualBox

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

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

Audio/Validation Kit: Perform a quick audio driver stack self-test on start of the actual testing (guest + host), plus in self-test mode.​ 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 91946 2021-10-21 13:30:54Z 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 * @{ */
398int AudioTestDriverStackPerformSelftest(void);
399
400void audioTestDriverStackDelete(PAUDIOTESTDRVSTACK pDrvStack);
401int audioTestDriverStackInitEx(PAUDIOTESTDRVSTACK pDrvStack, PCPDMDRVREG pDrvReg, bool fEnabledIn, bool fEnabledOut, bool fWithDrvAudio);
402int audioTestDriverStackInit(PAUDIOTESTDRVSTACK pDrvStack, PCPDMDRVREG pDrvReg, bool fWithDrvAudio);
403int audioTestDriverStackProbe(PAUDIOTESTDRVSTACK pDrvStack, PCPDMDRVREG pDrvReg, bool fEnabledIn, bool fEnabledOut, bool fWithDrvAudio);
404int audioTestDriverStackSetDevice(PAUDIOTESTDRVSTACK pDrvStack, PDMAUDIODIR enmDir, const char *pszDevId);
405/** @} */
406
407/** @name Driver
408 * @{ */
409int audioTestDrvConstruct(PAUDIOTESTDRVSTACK pDrvStack, PCPDMDRVREG pDrvReg, PPDMDRVINS pParentDrvIns, PPPDMDRVINS ppDrvIns);
410/** @} */
411
412/** @name Driver stack stream
413 * @{ */
414int audioTestDriverStackStreamCreateInput(PAUDIOTESTDRVSTACK pDrvStack, PCPDMAUDIOPCMPROPS pProps,
415 uint32_t cMsBufferSize, uint32_t cMsPreBuffer, uint32_t cMsSchedulingHint,
416 PPDMAUDIOSTREAM *ppStream, PPDMAUDIOSTREAMCFG pCfgAcq);
417int audioTestDriverStackStreamCreateOutput(PAUDIOTESTDRVSTACK pDrvStack, PCPDMAUDIOPCMPROPS pProps,
418 uint32_t cMsBufferSize, uint32_t cMsPreBuffer, uint32_t cMsSchedulingHint,
419 PPDMAUDIOSTREAM *ppStream, PPDMAUDIOSTREAMCFG pCfgAcq);
420void audioTestDriverStackStreamDestroy(PAUDIOTESTDRVSTACK pDrvStack, PPDMAUDIOSTREAM pStream);
421int audioTestDriverStackStreamDrain(PAUDIOTESTDRVSTACK pDrvStack, PPDMAUDIOSTREAM pStream, bool fSync);
422int audioTestDriverStackStreamEnable(PAUDIOTESTDRVSTACK pDrvStack, PPDMAUDIOSTREAM pStream);
423int AudioTestDriverStackStreamDisable(PAUDIOTESTDRVSTACK pDrvStack, PPDMAUDIOSTREAM pStream);
424bool audioTestDriverStackStreamIsOkay(PAUDIOTESTDRVSTACK pDrvStack, PPDMAUDIOSTREAM pStream);
425uint32_t audioTestDriverStackStreamGetWritable(PAUDIOTESTDRVSTACK pDrvStack, PPDMAUDIOSTREAM pStream);
426int audioTestDriverStackStreamPlay(PAUDIOTESTDRVSTACK pDrvStack, PPDMAUDIOSTREAM pStream, void const *pvBuf,
427 uint32_t cbBuf, uint32_t *pcbPlayed);
428uint32_t audioTestDriverStackStreamGetReadable(PAUDIOTESTDRVSTACK pDrvStack, PPDMAUDIOSTREAM pStream);
429int audioTestDriverStackStreamCapture(PAUDIOTESTDRVSTACK pDrvStack, PPDMAUDIOSTREAM pStream,
430 void *pvBuf, uint32_t cbBuf, uint32_t *pcbCaptured);
431/** @} */
432
433/** @name Backend handling
434 * @{ */
435PCPDMDRVREG AudioTestGetDefaultBackend(void);
436PCPDMDRVREG AudioTestFindBackendOpt(const char *pszBackend);
437/** @} */
438
439/** @name Mixing stream
440 * @{ */
441int AudioTestMixStreamInit(PAUDIOTESTDRVMIXSTREAM pMix, PAUDIOTESTDRVSTACK pDrvStack, PPDMAUDIOSTREAM pStream,
442 PCPDMAUDIOPCMPROPS pProps, uint32_t cMsBuffer);
443void AudioTestMixStreamTerm(PAUDIOTESTDRVMIXSTREAM pMix);
444int AudioTestMixStreamEnable(PAUDIOTESTDRVMIXSTREAM pMix);
445int AudioTestMixStreamDrain(PAUDIOTESTDRVMIXSTREAM pMix, bool fSync);
446int AudioTestMixStreamDisable(PAUDIOTESTDRVMIXSTREAM pMix);
447bool AudioTestMixStreamIsOkay(PAUDIOTESTDRVMIXSTREAM pMix);
448uint32_t AudioTestMixStreamGetWritable(PAUDIOTESTDRVMIXSTREAM pMix);
449int AudioTestMixStreamPlay(PAUDIOTESTDRVMIXSTREAM pMix, void const *pvBuf, uint32_t cbBuf, uint32_t *pcbPlayed);
450uint32_t AudioTestMixStreamGetReadable(PAUDIOTESTDRVMIXSTREAM pMix);
451int AudioTestMixStreamCapture(PAUDIOTESTDRVMIXSTREAM pMix, void *pvBuf, uint32_t cbBuf, uint32_t *pcbCaptured);
452void AudioTestMixStreamSetVolume(PAUDIOTESTDRVMIXSTREAM pMix, uint8_t uVolumePercent);
453/** @} */
454
455/** @name Device handling
456 * @{ */
457int audioTestDeviceOpen(PPDMAUDIOHOSTDEV pDev);
458int audioTestDeviceClose(PPDMAUDIOHOSTDEV pDev);
459
460int audioTestDevicesEnumerateAndCheck(PAUDIOTESTDRVSTACK pDrvStack, const char *pszDev, PPDMAUDIOHOSTDEV *ppDev);
461/** @} */
462
463/** @name ATS routines
464 * @{ */
465int audioTestEnvConnectToValKitAts(PAUDIOTESTENV pTstEnv,
466 const char *pszHostTcpAddr, uint32_t uHostTcpPort);
467/** @} */
468
469/** @name Test environment handling
470 * @{ */
471void audioTestEnvInit(PAUDIOTESTENV pTstEnv);
472int audioTestEnvCreate(PAUDIOTESTENV pTstEnv, PAUDIOTESTDRVSTACK pDrvStack);
473void audioTestEnvDestroy(PAUDIOTESTENV pTstEnv);
474int audioTestEnvPrologue(PAUDIOTESTENV pTstEnv, bool fPack, char *pszPackFile, size_t cbPackFile);
475
476void audioTestParmsInit(PAUDIOTESTPARMS pTstParms);
477void audioTestParmsDestroy(PAUDIOTESTPARMS pTstParms);
478/** @} */
479
480int audioTestWorker(PAUDIOTESTENV pTstEnv);
481
482/** @todo Test tone handling */
483int audioTestPlayTone(PAUDIOTESTIOOPTS pIoOpts, PAUDIOTESTENV pTstEnv, PAUDIOTESTSTREAM pStream, PAUDIOTESTTONEPARMS pParms);
484void audioTestToneParmsInit(PAUDIOTESTTONEPARMS pToneParms);
485/** @} */
486
487void audioTestIoOptsInitDefaults(PAUDIOTESTIOOPTS pIoOpts);
488
489/*********************************************************************************************************************************
490* Common command line stuff *
491*********************************************************************************************************************************/
492
493/**
494 * Common long options values.
495 */
496enum
497{
498 AUDIO_TEST_OPT_CMN_DAEMONIZE = 256,
499 AUDIO_TEST_OPT_CMN_DAEMONIZED,
500 AUDIO_TEST_OPT_CMN_DEBUG_AUDIO_ENABLE,
501 AUDIO_TEST_OPT_CMN_DEBUG_AUDIO_PATH
502};
503
504/** For use in the option switch to handle common options. */
505#define AUDIO_TEST_COMMON_OPTION_CASES(a_ValueUnion) \
506 case 'q': \
507 g_uVerbosity = 0; \
508 if (g_pRelLogger) \
509 RTLogGroupSettings(g_pRelLogger, "all=0 all.e"); \
510 break; \
511 \
512 case 'v': \
513 g_uVerbosity++; \
514 if (g_pRelLogger) \
515 RTLogGroupSettings(g_pRelLogger, g_uVerbosity == 1 ? "all.e.l" : g_uVerbosity == 2 ? "all.e.l.f" : "all=~0"); \
516 break; \
517 \
518 case 'V': \
519 return audioTestVersion(); \
520 \
521 case 'h': \
522 audioTestShowLogo(g_pStdOut); \
523 return audioTestUsage(g_pStdOut); \
524 \
525 case AUDIO_TEST_OPT_CMN_DEBUG_AUDIO_ENABLE: \
526 g_fDrvAudioDebug = true; \
527 break; \
528 \
529 case AUDIO_TEST_OPT_CMN_DEBUG_AUDIO_PATH: \
530 g_pszDrvAudioDebug = (a_ValueUnion).psz; \
531 break; \
532 case AUDIO_TEST_OPT_CMN_DAEMONIZE: \
533 break; \
534 case AUDIO_TEST_OPT_CMN_DAEMONIZED: \
535 break;
536
537#endif /* !VBOX_INCLUDED_SRC_audio_vkatInternal_h */
538
Note: See TracBrowser for help on using the repository browser.

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