mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-04 15:50:10 +01:00
Add volume support for WASAPI.
Note: Not all devices (like my RME Babyface) allow you to control the volume via WASAPI. So, even though volume adjustments appear to work visually (sliders move in volume control panel), they may not actually change.
This commit is contained in:
@@ -272,6 +272,15 @@ int/*PaWasapiDeviceRole*/ PaWasapi_GetDeviceRole( PaDeviceIndex nDevice );
|
||||
*/
|
||||
int PaWasapi_IsLoopback( PaDeviceIndex nDevice );
|
||||
|
||||
/** Returns Windows device ID.
|
||||
|
||||
@param nDevice device index.
|
||||
|
||||
@return 0 = Not loopback, 1 = loopback, < 0 = PaErrorCode
|
||||
if PortAudio is not initialized or an error is encountered.
|
||||
*/
|
||||
const wchar_t *PaWasapi_GetInputDeviceID( PaStream* s );
|
||||
const wchar_t *PaWasapi_GetOutputDeviceID( PaStream* s );
|
||||
|
||||
/** Boost thread priority of calling thread (MMCSS). Use it for Blocking Interface only for thread
|
||||
which makes calls to Pa_WriteStream/Pa_ReadStream.
|
||||
|
||||
Reference in New Issue
Block a user