SDL_CreateAudioStream

Create a new audio stream.

extern (C) nothrow @nogc extern
SDL_CreateAudioStream

Parameters

src_spec const(SDL_AudioSpec)*

the format details of the input audio.

dst_spec const(SDL_AudioSpec)*

the format details of the output audio.

Return Value

a new audio stream on success or NULL on failure; call SDL_GetError() for more information.

Threadsafety: It is safe to call this function from any thread.

See Also

Meta