Changeset 88300 in vbox for trunk/src/VBox
- Timestamp:
- Mar 26, 2021 2:31:55 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 143513
- Location:
- trunk/src/VBox
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/AudioHlp.cpp
r88292 r88300 277 277 * will be replaced by an underscore ("_"). 278 278 * 279 * @return IPRTstatus code.279 * @returns VBox status code. 280 280 * @param pszPath Path to sanitize. 281 281 * @param cbPath Size (in bytes) of path to sanitize. … … 313 313 * Constructs an unique file name, based on the given path and the audio file type. 314 314 * 315 * @returns IPRTstatus code.315 * @returns VBox status code. 316 316 * @param pszFile Where to store the constructed file name. 317 317 * @param cchFile Size (in characters) of the file name buffer. … … 437 437 * Creates an audio file. 438 438 * 439 * @returns IPRTstatus code.439 * @returns VBox status code. 440 440 * @param enmType Audio file type to open / create. 441 441 * @param pszFile File path of file to open or create. … … 506 506 * Opens or creates an audio file. 507 507 * 508 * @returns IPRTstatus code.508 * @returns VBox status code. 509 509 * @param pFile Pointer to audio file handle to use. 510 510 * @param fOpen Open flags. … … 646 646 * Closes an audio file. 647 647 * 648 * @returns IPRTstatus code.648 * @returns VBox status code. 649 649 * @param pFile Audio file handle to close. 650 650 */ … … 709 709 * Deletes an audio file. 710 710 * 711 * @returns IPRTstatus code.711 * @returns VBox status code. 712 712 * @param pFile Audio file handle to delete. 713 713 */ … … 776 776 * Write PCM data to a wave (.WAV) file. 777 777 * 778 * @returns IPRTstatus code.778 * @returns VBox status code. 779 779 * @param pFile Audio file handle to write PCM data to. 780 780 * @param pvBuf Audio data to write. -
trunk/src/VBox/Devices/Audio/DevHda.cpp
r88269 r88300 670 670 * Synchronizes the CORB / RIRB buffers between internal <-> device state. 671 671 * 672 * @returns IPRTstatus code.672 * @returns VBox status code. 673 673 * 674 674 * @param pDevIns The device instance. … … 1642 1642 * Adds an audio output stream to the device setup using the given configuration. 1643 1643 * 1644 * @returns IPRTstatus code.1644 * @returns VBox status code. 1645 1645 * @param pThisCC The ring-3 HDA device state. 1646 1646 * @param pCfg Stream configuration to use for adding a stream. … … 1765 1765 * Adds an audio input stream to the device setup using the given configuration. 1766 1766 * 1767 * @returns IPRTstatus code.1767 * @returns VBox status code. 1768 1768 * @param pThisCC The ring-3 HDA device state. 1769 1769 * @param pCfg Stream configuration to use for adding a stream. … … 1800 1800 * Adds an audio stream to the device setup using the given configuration. 1801 1801 * 1802 * @returns IPRTstatus code.1802 * @returns VBox status code. 1803 1803 * @param pThisCC The ring-3 HDA device state. 1804 1804 * @param pCfg Stream configuration to use for adding a stream. … … 1835 1835 * Removes an audio stream from the device setup using the given configuration. 1836 1836 * 1837 * @returns IPRTstatus code.1837 * @returns VBox status code. 1838 1838 * @param pThisCC The ring-3 HDA device state. 1839 1839 * @param pCfg Stream configuration to use for removing a stream. … … 2184 2184 * Adds a specific HDA driver to the driver chain. 2185 2185 * 2186 * @return IPRTstatus code.2187 * @param pThisCC 2188 * @param pDrvHDA driver to add.2186 * @returns VBox status code. 2187 * @param pThisCC The ring-3 HDA device state. 2188 * @param pDrv HDA driver to add. 2189 2189 */ 2190 2190 static int hdaR3MixerAddDrv(PHDASTATER3 pThisCC, PHDADRIVER pDrv) … … 2306 2306 * Adds a driver stream to a specific mixer sink. 2307 2307 * 2308 * @returns IPRTstatus code (ignored by caller).2308 * @returns VBox status code (ignored by caller). 2309 2309 * @param pMixSink Audio mixer sink to add audio streams to. 2310 2310 * @param pCfg Audio stream configuration to use for the audio streams to add. … … 2429 2429 * Adds all current driver streams to a specific mixer sink. 2430 2430 * 2431 * @returns IPRTstatus code.2431 * @returns VBox status code. 2432 2432 * @param pThisCC The ring-3 HDA device state. 2433 2433 * @param pMixSink Audio mixer sink to add stream to. -
trunk/src/VBox/Devices/Audio/DevHdaCommon.cpp
r88269 r88300 260 260 * Converts an HDA stream's SDFMT register into a given PCM properties structure. 261 261 * 262 * @return IPRTstatus code.262 * @returns VBox status code. 263 263 * @param u16SDFMT The HDA stream's SDFMT value to convert. 264 264 * @param pProps PCM properties structure to hold converted result on success. -
trunk/src/VBox/Devices/Audio/DevHdaStream.cpp
r88269 r88300 55 55 * Creates an HDA stream. 56 56 * 57 * @returns IPRTstatus code.57 * @returns VBox status code. 58 58 * @param pStreamShared The HDA stream to construct - shared bits. 59 59 * @param pStreamR3 The HDA stream to construct - ring-3 bits. … … 448 448 * Sets up ((re-)iniitalizes) an HDA stream. 449 449 * 450 * @returns IPRTstatus code. VINF_NO_CHANGE if the stream does not need450 * @returns VBox status code. VINF_NO_CHANGE if the stream does not need 451 451 * be set-up again because the stream's (hardware) parameters did 452 452 * not change. … … 878 878 * Enables or disables an HDA audio stream. 879 879 * 880 * @returns IPRTstatus code.880 * @returns VBox status code. 881 881 * @param pStreamShared HDA stream to enable or disable - shared bits. 882 882 * @param pStreamR3 HDA stream to enable or disable - ring-3 bits. … … 2277 2277 * Locks an HDA stream for serialized access. 2278 2278 * 2279 * @returns IPRTstatus code.2279 * @returns VBox status code. 2280 2280 * @param pStreamShared HDA stream to lock (shared bits). 2281 2281 */ … … 2292 2292 * Unlocks a formerly locked HDA stream. 2293 2293 * 2294 * @returns IPRTstatus code.2294 * @returns VBox status code. 2295 2295 * @param pStreamShared HDA stream to unlock (shared bits). 2296 2296 */ … … 2573 2573 * Creates the async I/O thread for a specific HDA audio stream. 2574 2574 * 2575 * @returns IPRTstatus code.2575 * @returns VBox status code. 2576 2576 * @param pStreamR3 HDA audio stream to create the async I/O thread for. 2577 2577 */ … … 2610 2610 * Destroys the async I/O thread of a specific HDA audio stream. 2611 2611 * 2612 * @returns IPRTstatus code.2612 * @returns VBox status code. 2613 2613 * @param pStreamR3 HDA audio stream to destroy the async I/O thread for. 2614 2614 */ … … 2652 2652 * Lets the stream's async I/O thread know that there is some data to process. 2653 2653 * 2654 * @returns IPRTstatus code.2654 * @returns VBox status code. 2655 2655 * @param pStreamR3 HDA stream to notify async I/O thread for. 2656 2656 */ -
trunk/src/VBox/Devices/Audio/DevHdaStreamMap.cpp
r88269 r88300 318 318 * Initializes a stream mapping structure according to the given PCM properties. 319 319 * 320 * @return IPRTstatus code.320 * @returns VBox status code. 321 321 * @param pMap Pointer to mapping to initialize. 322 322 * @param cHostChannels The number of host channels to map to. -
trunk/src/VBox/Devices/Audio/DevIchAc97.cpp
r88269 r88300 841 841 * Fetches the current BDLE (Buffer Descriptor List Entry) of an AC'97 audio stream. 842 842 * 843 * @returns IPRTstatus code.843 * @returns VBox status code. 844 844 * @param pDevIns The device instance. 845 845 * @param pStream AC'97 stream to fetch BDLE for. … … 951 951 * Returns whether an AC'97 stream is enabled or not. 952 952 * 953 * @returns IPRTstatus code.953 * @returns VBox status code. 954 954 * @param pThisCC The ring-3 AC'97 device state. 955 955 * @param pStream Stream to return status for. … … 967 967 * Enables or disables an AC'97 audio stream. 968 968 * 969 * @returns IPRTstatus code.969 * @returns VBox status code. 970 970 * @param pThis The shared AC'97 state. 971 971 * @param pThisCC The ring-3 AC'97 state. … … 1072 1072 * Creates an AC'97 audio stream. 1073 1073 * 1074 * @returns IPRTstatus code.1074 * @returns VBox status code. 1075 1075 * @param pThisCC The ring-3 AC'97 state. 1076 1076 * @param pStream The AC'97 stream to create (shared). … … 1132 1132 * Destroys an AC'97 audio stream. 1133 1133 * 1134 * @returns IPRTstatus code.1134 * @returns VBox status code. 1135 1135 * @param pThis The shared AC'97 state. 1136 1136 * @param pStream The AC'97 stream to destroy (shared). … … 1225 1225 * Writes audio data from a mixer sink into an AC'97 stream's DMA buffer. 1226 1226 * 1227 * @returns IPRTstatus code.1227 * @returns VBox status code. 1228 1228 * @param pDstStreamCC The AC'97 stream to write to (ring-3). 1229 1229 * @param pSrcMixSink Mixer sink to get audio data to write from. … … 1268 1268 * Reads audio data from an AC'97 stream's DMA buffer and writes into a specified mixer sink. 1269 1269 * 1270 * @returns IPRTstatus code.1270 * @returns VBox status code. 1271 1271 * @param pSrcStreamCC AC'97 stream to read audio data from (ring-3). 1272 1272 * @param pDstMixSink Mixer sink to write audio data to. … … 1335 1335 * This will do the heavy lifting work for us as soon as it's getting notified by another thread. 1336 1336 * 1337 * @returns IPRTstatus code.1337 * @returns VBox status code. 1338 1338 * @param hThreadSelf Thread handle. 1339 1339 * @param pvUser User argument. Must be of type PAC97STREAMTHREADCTX. … … 1406 1406 * Creates the async I/O thread for a specific AC'97 audio stream. 1407 1407 * 1408 * @returns IPRTstatus code.1408 * @returns VBox status code. 1409 1409 * @param pThis The shared AC'97 state (shared). 1410 1410 * @param pThisCC The shared AC'97 state (ring-3). … … 1463 1463 * Lets the stream's async I/O thread know that there is some data to process. 1464 1464 * 1465 * @returns IPRTstatus code.1465 * @returns VBox status code. 1466 1466 * @param pStreamCC The AC'97 stream to notify async I/O thread 1467 1467 * for (ring-3). … … 1476 1476 * Destroys the async I/O thread of a specific AC'97 audio stream. 1477 1477 * 1478 * @returns IPRTstatus code.1478 * @returns VBox status code. 1479 1479 * @param pThis The shared AC'97 state. 1480 1480 * @param pStreamCC AC'97 audio stream to destroy the async I/O thread for. … … 1752 1752 * Sets a AC'97 mixer control to a specific value. 1753 1753 * 1754 * @returns IPRTstatus code.1754 * @returns VBox status code. 1755 1755 * @param pThis The shared AC'97 state. 1756 1756 * @param uMixerIdx Mixer control to set value for. … … 1838 1838 * Adds a driver stream to a specific mixer sink. 1839 1839 * 1840 * @returns IPRTstatus code.1840 * @returns VBox status code. 1841 1841 * @param pMixSink Mixer sink to add driver stream to. 1842 1842 * @param pCfg Stream configuration to use. … … 1931 1931 * Adds all current driver streams to a specific mixer sink. 1932 1932 * 1933 * @returns IPRTstatus code.1933 * @returns VBox status code. 1934 1934 * @param pThisCC The ring-3 AC'97 state. 1935 1935 * @param pMixSink Mixer sink to add stream to. … … 1965 1965 * Adds a specific AC'97 driver to the driver chain. 1966 1966 * 1967 * @return IPRTstatus code.1968 * @param pThisCCThe ring-3 AC'97 device state.1969 * @param pDrvThe AC'97 driver to add.1967 * @returns VBox status code. 1968 * @param pThisCC The ring-3 AC'97 device state. 1969 * @param pDrv The AC'97 driver to add. 1970 1970 */ 1971 1971 static int ichac97R3MixerAddDrv(PAC97STATER3 pThisCC, PAC97DRIVER pDrv) … … 2127 2127 * the last set sample rate in the AC'97 mixer for this stream. 2128 2128 * 2129 * @returns IPRTstatus code.2129 * @returns VBox status code. 2130 2130 * @param pThis The shared AC'97 device state (shared). 2131 2131 * @param pThisCC The shared AC'97 device state (ring-3). … … 2249 2249 * Closes an AC'97 stream. 2250 2250 * 2251 * @returns IPRTstatus code.2251 * @returns VBox status code. 2252 2252 * @param pStream The AC'97 stream to close (shared). 2253 2253 */ … … 2263 2263 * side with the current AC'97 mixer settings for this stream. 2264 2264 * 2265 * @returns IPRTstatus code.2265 * @returns VBox status code. 2266 2266 * @param pThis The shared AC'97 device state. 2267 2267 * @param pThisCC The ring-3 AC'97 device state. … … 2289 2289 * Locks an AC'97 stream for serialized access. 2290 2290 * 2291 * @returns IPRTstatus code.2291 * @returns VBox status code. 2292 2292 * @param pStreamCC The AC'97 stream to lock (ring-3). 2293 2293 */ … … 2301 2301 * Unlocks a formerly locked AC'97 stream. 2302 2302 * 2303 * @returns IPRTstatus code.2303 * @returns VBox status code. 2304 2304 * @param pStreamCC The AC'97 stream to unlock (ring-3). 2305 2305 */ … … 2343 2343 * This currently only supports attenuation -- gain support is currently not implemented. 2344 2344 * 2345 * @returns IPRTstatus code.2345 * @returns VBox status code. 2346 2346 * @param pThis The shared AC'97 state. 2347 2347 * @param pThisCC The ring-3 AC'97 state. … … 2447 2447 * NB: gain support is currently not implemented in PDM audio. 2448 2448 * 2449 * @returns IPRTstatus code.2449 * @returns VBox status code. 2450 2450 * @param pThis The shared AC'97 state. 2451 2451 * @param pThisCC The ring-3 AC'97 state. … … 2628 2628 * Resets the AC'97 mixer. 2629 2629 * 2630 * @returns IPRTstatus code.2630 * @returns VBox status code. 2631 2631 * @param pThis The shared AC'97 state. 2632 2632 * @param pThisCC The ring-3 AC'97 state. … … 2800 2800 * internal FIFO buffer and writing it as DMA data to the device. 2801 2801 * 2802 * @returns IPRTstatus code.2802 * @returns VBox status code. 2803 2803 * @param pDevIns The device instance. 2804 2804 * @param pThis The shared AC'97 state. … … 3718 3718 * Loads an AC'97 stream from SSM. 3719 3719 * 3720 * @returns IPRTstatus code.3720 * @returns VBox status code. 3721 3721 * @param pDevIns The device instance. 3722 3722 * @param pSSM Saved state manager (SSM) handle to use. -
trunk/src/VBox/Devices/Audio/DevSB16.cpp
r88269 r88300 1755 1755 * Creates the output PDM audio stream for a specific driver. 1756 1756 * 1757 * @returns IPRTstatus code.1757 * @returns VBox status code. 1758 1758 * @param pCfg Stream configuration to use. 1759 1759 * @param pDrv Driver stream to create PDM stream for. -
trunk/src/VBox/Devices/Audio/DrvAudio.cpp
r88298 r88300 2008 2008 * the device emulation! 2009 2009 * 2010 * @return IPRTstatus code.2010 * @returns VBox status code. 2011 2011 * @param pThis Driver instance to be called. 2012 2012 */ -
trunk/src/VBox/Main/src-client/AudioDriver.cpp
r88269 r88300 79 79 * Attaches the driver via EMT, if configured. 80 80 * 81 * @returns IPRTstatus code.81 * @returns VBox status code. 82 82 * @param pUVM The user mode VM handle for talking to EMT. 83 83 * @param pAutoLock The callers auto lock instance. Can be NULL if … … 163 163 * Detatches the driver via EMT, if configured. 164 164 * 165 * @returns IPRTstatus code.165 * @returns VBox status code. 166 166 * @param pUVM The user mode VM handle for talking to EMT. 167 167 * @param pAutoLock The callers auto lock instance. Can be NULL if -
trunk/src/VBox/Main/src-client/DrvAudioRec.cpp
r88269 r88300 296 296 * Initializes a recording sink. 297 297 * 298 * @returns IPRTstatus code.298 * @returns VBox status code. 299 299 * @param pThis Driver instance. 300 300 * @param pSink Sink to initialize. … … 457 457 * Shuts down (closes) a recording sink, 458 458 * 459 * @returns IPRTstatus code.459 * @returns VBox status code. 460 460 * @param pSink Recording sink to shut down. 461 461 */ … … 499 499 * Creates an audio output stream and associates it with the specified recording sink. 500 500 * 501 * @returns IPRTstatus code.501 * @returns VBox status code. 502 502 * @param pThis Driver instance. 503 503 * @param pStreamAV Audio output stream to create. … … 569 569 * Destroys (closes) an audio output stream. 570 570 * 571 * @returns IPRTstatus code.571 * @returns VBox status code. 572 572 * @param pThis Driver instance. 573 573 * @param pStreamAV Audio output stream to destroy. … … 606 606 * Controls an audio output stream 607 607 * 608 * @returns IPRTstatus code.608 * @returns VBox status code. 609 609 * @param pThis Driver instance. 610 610 * @param pStreamAV Audio output stream to control. … … 1072 1072 * Applies a video recording configuration to this driver instance. 1073 1073 * 1074 * @returns IPRTstatus code.1074 * @returns VBox status code. 1075 1075 * @param Settings Capturing configuration to apply. 1076 1076 */ -
trunk/src/VBox/Main/src-client/DrvAudioVRDE.cpp
r88269 r88300 623 623 * RDP client. 624 624 * 625 * @return IPRTstatus code.625 * @returns VBox status code. 626 626 * @param pvContext The context; in this case a pointer to a 627 627 * VRDESTREAMIN structure.
Note:
See TracChangeset
for help on using the changeset viewer.