Changeset 70821 in vbox
- Timestamp:
- Jan 31, 2018 10:34:09 AM (7 years ago)
- Location:
- trunk/src/VBox/Devices/Audio
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvAudio.h
r70639 r70821 5 5 6 6 /* 7 * Copyright (C) 2006-201 7Oracle Corporation7 * Copyright (C) 2006-2018 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 196 196 int DrvAudioHlpFileDelete(PPDMAUDIOFILE pFile); 197 197 size_t DrvAudioHlpFileGetDataSize(PPDMAUDIOFILE pFile); 198 bool DrvAudioHlpFileIsOpen(PPDMAUDIOFILE pFile); 198 199 int DrvAudioHlpFileWrite(PPDMAUDIOFILE pFile, const void *pvBuf, size_t cbBuf, uint32_t fFlags); 199 200 -
trunk/src/VBox/Devices/Audio/DrvAudioCommon.cpp
r70584 r70821 8 8 9 9 /* 10 * Copyright (C) 2006-201 7Oracle Corporation10 * Copyright (C) 2006-2018 Oracle Corporation 11 11 * 12 12 * This file is part of VirtualBox Open Source Edition (OSE), as … … 1436 1436 1437 1437 /** 1438 * Returns whether the given audio file is open and in use or not. 1439 * 1440 * @return bool True if open, false if not. 1441 * @param pFile Audio file handle to check open status for. 1442 */ 1443 bool DrvAudioHlpFileIsOpen(PPDMAUDIOFILE pFile) 1444 { 1445 if (!pFile) 1446 return false; 1447 1448 return RTFileIsValid(pFile->hFile); 1449 } 1450 1451 /** 1438 1452 * Write PCM data to a wave (.WAV) file. 1439 1453 *
Note:
See TracChangeset
for help on using the changeset viewer.