SDL
2.0
|
#include "../SDL_internal.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_CONVERT 0 |
#define | LOG_DEBUG_CONVERT(from, to) |
#define DEBUG_CONVERT 0 |
Definition at line 28 of file SDL_audio_c.h.
#define LOG_DEBUG_CONVERT | ( | from, | |
to | |||
) |
Definition at line 34 of file SDL_audio_c.h.
Referenced by SDL_Convert51To71(), SDL_Convert51ToQuad(), SDL_Convert51ToStereo(), SDL_Convert71To51(), SDL_Convert_F32_to_S16_Scalar(), SDL_Convert_F32_to_S32_Scalar(), SDL_Convert_F32_to_S8_Scalar(), SDL_Convert_F32_to_U16_Scalar(), SDL_Convert_F32_to_U8_Scalar(), SDL_Convert_S16_to_F32_Scalar(), SDL_Convert_S32_to_F32_Scalar(), SDL_Convert_S8_to_F32_Scalar(), SDL_Convert_U16_to_F32_Scalar(), SDL_Convert_U8_to_F32_Scalar(), SDL_ConvertMonoToStereo(), SDL_ConvertQuadTo51(), SDL_ConvertQuadToStereo(), SDL_ConvertStereoTo51(), SDL_ConvertStereoToMono(), and SDL_ConvertStereoToQuad().
void SDL_CalculateAudioSpec | ( | SDL_AudioSpec * | spec | ) |
Definition at line 1605 of file SDL_audio.c.
References AUDIO_U8, SDL_AudioSpec::channels, SDL_AudioSpec::format, SDL_AudioSpec::samples, SDL_AUDIO_BITSIZE, SDL_AudioSpec::silence, and SDL_AudioSpec::size.
Referenced by open_audio_device(), and prepare_audiospec().
Definition at line 792 of file SDL_audiotypecvt.c.
References SDL_assert, SDL_FALSE, SDL_HasSSE2, SDL_TRUE, and SET_CONVERTER_FUNCS.
Referenced by SDL_BuildAudioCVT().
SDL_AudioFormat SDL_FirstAudioFormat | ( | SDL_AudioFormat | format | ) |
Definition at line 1584 of file SDL_audio.c.
References format_idx, format_idx_sub, format_list, NUM_FORMATS, and SDL_NextAudioFormat().
Definition at line 464 of file SDL_audiocvt.c.
References NULL, ResamplerFilter, ResamplerFilterDifference, and SDL_free.
Referenced by SDL_AudioQuit().
SDL_AudioFormat SDL_NextAudioFormat | ( | void | ) |
Definition at line 1596 of file SDL_audio.c.
References format_idx, format_idx_sub, format_list, and NUM_FORMATS.
Referenced by SDL_FirstAudioFormat().
int SDL_PrepareResampleFilter | ( | void | ) |
Definition at line 435 of file SDL_audiocvt.c.
References kaiser_and_sinc(), NULL, ResampleFilterSpinlock, RESAMPLER_FILTER_SIZE, ResamplerFilter, ResamplerFilterDifference, SDL_AtomicLock, SDL_AtomicUnlock, SDL_free, SDL_malloc, and SDL_OutOfMemory.
Referenced by SDL_BuildAudioResampleCVT(), and SDL_NewAudioStream().
SDL_AudioFilter SDL_Convert_F32_to_S16 |
Definition at line 58 of file SDL_audiotypecvt.c.
Referenced by SDL_BuildAudioTypeCVTFromFloat().
SDL_AudioFilter SDL_Convert_F32_to_S32 |
Definition at line 60 of file SDL_audiotypecvt.c.
Referenced by SDL_BuildAudioTypeCVTFromFloat().
SDL_AudioFilter SDL_Convert_F32_to_S8 |
Definition at line 56 of file SDL_audiotypecvt.c.
Referenced by SDL_BuildAudioTypeCVTFromFloat().
SDL_AudioFilter SDL_Convert_F32_to_U16 |
Definition at line 59 of file SDL_audiotypecvt.c.
Referenced by SDL_BuildAudioTypeCVTFromFloat().
SDL_AudioFilter SDL_Convert_F32_to_U8 |
Definition at line 57 of file SDL_audiotypecvt.c.
Referenced by SDL_BuildAudioTypeCVTFromFloat().
SDL_AudioFilter SDL_Convert_S16_to_F32 |
Definition at line 53 of file SDL_audiotypecvt.c.
Referenced by SDL_BuildAudioTypeCVTToFloat().
SDL_AudioFilter SDL_Convert_S32_to_F32 |
Definition at line 55 of file SDL_audiotypecvt.c.
Referenced by SDL_BuildAudioTypeCVTToFloat().
SDL_AudioFilter SDL_Convert_S8_to_F32 |
Definition at line 51 of file SDL_audiotypecvt.c.
Referenced by SDL_BuildAudioTypeCVTToFloat().
SDL_AudioFilter SDL_Convert_U16_to_F32 |
Definition at line 54 of file SDL_audiotypecvt.c.
Referenced by SDL_BuildAudioTypeCVTToFloat().
SDL_AudioFilter SDL_Convert_U8_to_F32 |
Definition at line 52 of file SDL_audiotypecvt.c.
Referenced by SDL_BuildAudioTypeCVTToFloat().