Changeset 89215 in vbox for trunk/src/VBox/Devices/Audio/AudioTestService.h
- Timestamp:
- May 21, 2021 10:47:13 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/AudioTestService.h
r89204 r89215 24 24 #include "AudioTestServiceInternal.h" 25 25 26 int AudioTestSvcInit(void); 27 int AudioTestSvcStart(void); 26 27 /** 28 * Structure for keeping an Audio Test Server (ATS) instance. 29 */ 30 typedef struct ATSSERVER 31 { 32 /** The selected transport layer. */ 33 PCATSTRANSPORT pTransport; 34 /** Whether to terminate or not. 35 * @todo implement signals and stuff. */ 36 bool volatile fTerminate; 37 /** Pipe for communicating with the serving thread about new clients. - read end */ 38 RTPIPE hPipeR; 39 /** Pipe for communicating with the serving thread about new clients. - write end */ 40 RTPIPE hPipeW; 41 /** Main thread waiting for connections. */ 42 RTTHREAD hThreadMain; 43 /** Thread serving connected clients. */ 44 RTTHREAD hThreadServing; 45 /** Critical section protecting the list of new clients. */ 46 RTCRITSECT CritSectClients; 47 /** List of new clients waiting to be picked up by the client worker thread. */ 48 RTLISTANCHOR LstClientsNew; 49 } ATSSERVER; 50 /** Pointer to an Audio Test Server (ATS) instance. */ 51 typedef ATSSERVER *PATSSERVER; 52 53 54 int AudioTestSvcInit(PATSSERVER pThis); 55 int AudioTestSvcStart(PATSSERVER pThis); 56 int AudioTestSvcShutdown(PATSSERVER pThis); 28 57 29 58 #endif /* !VBOX_INCLUDED_SRC_Audio_AudioTestService_h */
Note:
See TracChangeset
for help on using the changeset viewer.