23 #ifndef __LIBRETRO_SDK_AUDIO_MIX_H__ 24 #define __LIBRETRO_SDK_AUDIO_MIX_H__ 59 #define audio_mix_volume audio_mix_volume_SSE2 61 void audio_mix_volume_SSE2(
float *
out,
62 const float *
in,
float vol,
size_t samples);
64 #define audio_mix_volume audio_mix_volume_C size_t resample_len
Definition: audio_mix.h:49
GLsizei samples
Definition: glext.h:7673
Definition: audio_resampler.h:130
int16_t audio_mix_get_chunk_sample(audio_chunk_t *chunk, unsigned channel, size_t sample)
Definition: audio_mix.c:259
#define RETRO_BEGIN_DECLS
Definition: retro_common_api.h:41
ssize_t len
Definition: audio_mix.h:48
GLsizei const GLchar ** path
Definition: glext.h:7901
Definition: audio_mix.h:41
int16_t * resample_buf
Definition: audio_mix.h:47
float * float_resample_buf
Definition: audio_mix.h:46
struct passwd out
Definition: missing_libc_functions.c:51
float * float_buf
Definition: audio_mix.h:45
audio_chunk_t * audio_mix_load_wav_file(const char *path, int sample_rate)
Definition: audio_mix.c:111
bool resample
Definition: audio_mix.h:52
int16_t * upsample_buf
Definition: audio_mix.h:44
signed short int16_t
Definition: stdint.h:122
int16_t * audio_mix_get_chunk_samples(audio_chunk_t *chunk)
Definition: audio_mix.c:288
GLenum src
Definition: glext.h:6980
GLuint in
Definition: glext.h:10523
unsigned sample_rate
Definition: ffmpeg_core.c:181
#define RETRO_END_DECLS
Definition: retro_common_api.h:42
void audio_mix_volume_C(float *dst, const float *src, float vol, size_t samples)
Definition: audio_mix.c:41
GLenum GLenum dst
Definition: glext.h:6980
double ratio
Definition: audio_mix.h:55
void * buf
Definition: audio_mix.h:43
int audio_mix_get_chunk_num_channels(audio_chunk_t *chunk)
Definition: audio_mix.c:308
int sample_rate
Definition: audio_mix.h:51
void audio_mix_free_chunk(audio_chunk_t *chunk)
Definition: audio_mix.c:78
size_t audio_mix_get_chunk_num_samples(audio_chunk_t *chunk)
Definition: audio_mix.c:233
rwav_t * rwav
Definition: audio_mix.h:50
const retro_resampler_t * resampler
Definition: audio_mix.h:53
void * resampler_data
Definition: audio_mix.h:54