![]() |
WSCLib SDK 1.0.0
GPU-accelerated video output framework for Windows
|
Functions | |
| WSCIResult | WSCI_SetAudioDevice (int captureId, int audioDeviceIndex) |
| Attach an audio input device to a capture. | |
| WSCIResult | WSCI_SetAudioOutput (int captureId, int outputDeviceIndex) |
| Select audio output device for playthrough. | |
| WSCIResult | WSCI_SetAudioFormat (int captureId, const WSCIAudioFormat *format) |
| Set audio format parameters. | |
| WSCIResult | WSCI_SetAudioVolume (int captureId, float volume) |
| Set audio volume. | |
| float | WSCI_GetAudioVolume (int captureId) |
| Get current audio volume. | |
| WSCIResult | WSCI_SetAudioMute (int captureId, int mute) |
| Set audio mute state. | |
| int | WSCI_GetAudioMute (int captureId) |
| Get audio mute state. | |
| WSCIResult WSCI_SetAudioDevice | ( | int | captureId, |
| int | audioDeviceIndex ) |
Attach an audio input device to a capture.
| captureId | Capture ID. |
| audioDeviceIndex | Index from WSCI_EnumAudioDevices(). Pass -1 to detach. |
| WSCIResult WSCI_SetAudioOutput | ( | int | captureId, |
| int | outputDeviceIndex ) |
Select audio output device for playthrough.
| captureId | Capture ID. |
| outputDeviceIndex | Index from WSCI_EnumAudioOutputDevices(). Pass -1 for system default. |
| WSCIResult WSCI_SetAudioFormat | ( | int | captureId, |
| const WSCIAudioFormat * | format ) |
Set audio format parameters.
| captureId | Capture ID. |
| format | Audio format, or NULL for auto-detect. |
| WSCIResult WSCI_SetAudioVolume | ( | int | captureId, |
| float | volume ) |
Set audio volume.
| captureId | Capture ID. |
| volume | Volume: 0.0 (silent) to 1.0 (full). |
| float WSCI_GetAudioVolume | ( | int | captureId | ) |
Get current audio volume.
| captureId | Capture ID. |
| WSCIResult WSCI_SetAudioMute | ( | int | captureId, |
| int | mute ) |
Set audio mute state.
| captureId | Capture ID. |
| mute | 1 to mute, 0 to unmute. |
| int WSCI_GetAudioMute | ( | int | captureId | ) |
Get audio mute state.
| captureId | Capture ID. |