SDL Wiki
[ front page | index | search | recent changes | git repo | offline html ]

SDL_HINT_AUDIO_DEVICE_RAW_STREAM

Specify whether this audio device should do audio processing.

Header File

Defined in <SDL3/SDL_hints.h>

Syntax

#define SDL_HINT_AUDIO_DEVICE_RAW_STREAM "SDL_AUDIO_DEVICE_RAW_STREAM"

Remarks

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.

The variable can be set to the following values:

This hint should be set before an audio device is opened.

Version

This hint is available since SDL 3.4.0.


CategoryAPI, CategoryAPIMacro, CategoryHints


[ edit | delete | history | feedback | raw ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.