Changeset 88433 in vbox for trunk/src/VBox/Devices/Audio/AudioMixer.h
- Timestamp:
- Apr 9, 2021 12:55:19 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 143685
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/AudioMixer.h
r88357 r88433 91 91 /** The statistics prefix. */ 92 92 char *pszStatPrefix; 93 /** The streams's critical section. */94 RTCRITSECT CritSect;95 93 /** Sink this stream is attached to. */ 96 94 PAUDMIXSINK pSink; … … 103 101 /** Pointer to PDM audio stream this mixer stream handles. */ 104 102 PPDMAUDIOSTREAM pStream; 103 /** Mixing buffer peeking state & config. */ 104 AUDIOMIXBUFPEEKSTATE PeekState; 105 105 /** Last read (recording) / written (playback) timestamp (in ns). */ 106 106 uint64_t tsLastReadWrittenNs; 107 /** The stream's circular buffer for temporarily 108 * holding (raw) device audio data. */ 109 PRTCIRCBUF pCircBuf; 110 /** Stats: Number of bytes used in the circular buffer. */ 111 uint32_t StatsCircBufUsed; 112 /** Stats: Size of circular buffer. */ 113 uint32_t StatsCircBufSize; 107 /** The streams's critical section. */ 108 RTCRITSECT CritSect; 114 109 } AUDMIXSTREAM, *PAUDMIXSTREAM; 115 110 … … 124 119 #define AUDMIXSINK_STS_PENDING_DISABLE RT_BIT(1) 125 120 /** Dirty flag. 126 * For output sinks this means that there is data in the 127 * sink which has not been played yet. 128 * For input sinks this means that there is data in the 129 * sink which has been recorded but not transferred to the 130 * destination yet. */ 121 * - For output sinks this means that there is data in the sink which has not 122 * been played yet. 123 * - For input sinks this means that there is data in the sink which has been 124 * recorded but not transferred to the destination yet. */ 131 125 #define AUDMIXSINK_STS_DIRTY RT_BIT(2) 132 126 133 127 /** 134 128 * Audio mixer sink direction. 129 * @todo r=bird: use PDMAUDIODIR instead. 135 130 */ 136 131 typedef enum AUDMIXSINKDIR
Note:
See TracChangeset
for help on using the changeset viewer.