Changeset 88056 in vbox
- Timestamp:
- Mar 9, 2021 2:47:45 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmaudioifs.h
r88055 r88056 1158 1158 typedef struct PDMAUDIOSTREAMIN 1159 1159 { 1160 struct 1161 { 1162 /** File for writing stream reads. */ 1163 PPDMAUDIOFILE pFileStreamRead; 1164 /** File for writing non-interleaved captures. */ 1165 PPDMAUDIOFILE pFileCaptureNonInterleaved; 1166 } Dbg; 1160 1167 #ifdef VBOX_WITH_STATISTICS 1161 1168 struct … … 1169 1176 } Stats; 1170 1177 #endif 1171 struct1172 {1173 /** File for writing stream reads. */1174 PPDMAUDIOFILE pFileStreamRead;1175 /** File for writing non-interleaved captures. */1176 PPDMAUDIOFILE pFileCaptureNonInterleaved;1177 } Dbg;1178 1178 } PDMAUDIOSTREAMIN; 1179 1179 /** Pointer to the specifics for an audio input stream. */ … … 1187 1187 typedef struct PDMAUDIOSTREAMOUT 1188 1188 { 1189 struct 1190 { 1191 /** File for writing stream writes. */ 1192 PPDMAUDIOFILE pFileStreamWrite; 1193 /** File for writing stream playback. */ 1194 PPDMAUDIOFILE pFilePlayNonInterleaved; 1195 } Dbg; 1189 1196 #ifdef VBOX_WITH_STATISTICS 1190 1197 struct … … 1198 1205 } Stats; 1199 1206 #endif 1200 struct1201 {1202 /** File for writing stream writes. */1203 PPDMAUDIOFILE pFileStreamWrite;1204 /** File for writing stream playback. */1205 PPDMAUDIOFILE pFilePlayNonInterleaved;1206 } Dbg;1207 1207 } PDMAUDIOSTREAMOUT; 1208 1208 /** Pointer to the specifics for an audio output stream. */ … … 1237 1237 typedef struct PDMAUDIOSTREAM 1238 1238 { 1239 /** List node. */ 1239 /** List node. 1240 * @todo s/Node/ListEntry/ */ 1240 1241 RTLISTNODE Node; 1241 /** Name of this stream. */ 1242 char szName[64]; 1242 /** @todo add magic (some jazz pianist). */ 1243 1243 /** Number of references to this stream. 1244 1244 * Only can be destroyed when the reference count reaches 0. */ … … 1263 1263 /** The host side of the stream. */ 1264 1264 PDMAUDIOSTREAMCTX Host; 1265 /** Union for input/output specifics depending on enmDir. */1266 union1267 {1268 PDMAUDIOSTREAMIN In;1269 PDMAUDIOSTREAMOUT Out;1270 } RT_UNION_NM(u);1271 1265 /** Timestamp (in ns) since last trying to re-initialize. 1272 1266 * Might be 0 if has not been tried yet. */ … … 1286 1280 /** Size (in bytes) of the backend-specific stream data. */ 1287 1281 size_t cbBackend; 1282 1283 /** Name of this stream. */ 1284 char szName[64]; 1285 1286 /** Union for input/output specifics depending on enmDir. */ 1287 union 1288 { 1289 PDMAUDIOSTREAMIN In; 1290 PDMAUDIOSTREAMOUT Out; 1291 } RT_UNION_NM(u); 1288 1292 } PDMAUDIOSTREAM; 1289 1293
Note:
See TracChangeset
for help on using the changeset viewer.