mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-26 12:27:44 +00:00
Sync SDL3 wiki -> header
[ci skip]
This commit is contained in:
@@ -391,16 +391,19 @@ extern "C" {
|
|||||||
* concept, so it applies to a physical audio device in this case, and not an
|
* concept, so it applies to a physical audio device in this case, and not an
|
||||||
* SDL_AudioStream, nor an SDL logical audio device.
|
* SDL_AudioStream, nor an SDL logical audio device.
|
||||||
*
|
*
|
||||||
* For Windows WASAPI audio, the following roles are supported, and map to `AUDIO_STREAM_CATEGORY`:
|
* For Windows WASAPI audio, the following roles are supported, and map to
|
||||||
|
* `AUDIO_STREAM_CATEGORY`:
|
||||||
*
|
*
|
||||||
* - "Other" (default)
|
* - "Other" (default)
|
||||||
* - "Communications" - Real-time communications, such as VOIP or chat
|
* - "Communications" - Real-time communications, such as VOIP or chat
|
||||||
* - "Game" - Game audio
|
* - "Game" - Game audio
|
||||||
* - "GameChat" - Game chat audio, similar to "Communications" except that this will not attenuate other audio streams
|
* - "GameChat" - Game chat audio, similar to "Communications" except that
|
||||||
|
* this will not attenuate other audio streams
|
||||||
* - "Movie" - Music or sound with dialog
|
* - "Movie" - Music or sound with dialog
|
||||||
* - "Media" - Music or sound without dialog
|
* - "Media" - Music or sound without dialog
|
||||||
*
|
*
|
||||||
* If your application applies its own echo cancellation, gain control, and noise reduction it should also set SDL_HINT_AUDIO_DEVICE_RAW_STREAM.
|
* If your application applies its own echo cancellation, gain control, and
|
||||||
|
* noise reduction it should also set SDL_HINT_AUDIO_DEVICE_RAW_STREAM.
|
||||||
*
|
*
|
||||||
* This hint should be set before an audio device is opened.
|
* This hint should be set before an audio device is opened.
|
||||||
*
|
*
|
||||||
@@ -411,7 +414,9 @@ extern "C" {
|
|||||||
/**
|
/**
|
||||||
* Specify whether this audio device should do audio processing.
|
* Specify whether this audio device should do audio processing.
|
||||||
*
|
*
|
||||||
* Some operating systems perform echo cancellation, gain control, and noise reduction as needed. If your application already handles these, you can set this hint to prevent the OS from doing additional audio processing.
|
* Some operating systems perform echo cancellation, gain control, and noise
|
||||||
|
* reduction as needed. If your application already handles these, you can set
|
||||||
|
* this hint to prevent the OS from doing additional audio processing.
|
||||||
*
|
*
|
||||||
* This corresponds to the WASAPI audio option `AUDCLNT_STREAMOPTIONS_RAW`.
|
* This corresponds to the WASAPI audio option `AUDCLNT_STREAMOPTIONS_RAW`.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user