/external/speex/libspeex/ |
speex_header.c | 75 int nb_channels; 86 EXPORT void speex_init_header(SpeexHeader *header, int rate, int nb_channels, const SpeexMode *m) 110 header->nb_channels = nb_channels; 134 ENDIAN_SWITCH(le_header->nb_channels); 174 ENDIAN_SWITCH(le_header->nb_channels); 188 if (le_header->nb_channels>2) 189 le_header->nb_channels = 2; 190 if (le_header->nb_channels<1) 191 le_header->nb_channels = 1 [all...] |
resample.c | 118 spx_uint32_t nb_channels; member in struct:SpeexResamplerState_ 641 st->mem = (spx_word16_t*)speex_alloc(st->nb_channels*st->mem_alloc_size * sizeof(spx_word16_t)); 642 for (i=0;i<st->nb_channels*st->mem_alloc_size;i++) 649 st->mem = (spx_word16_t*)speex_realloc(st->mem, st->nb_channels*st->mem_alloc_size * sizeof(spx_word16_t)); 650 for (i=0;i<st->nb_channels*st->mem_alloc_size;i++) 662 st->mem = (spx_word16_t*)speex_realloc(st->mem, st->nb_channels*st->mem_alloc_size * sizeof(spx_word16_t)); 664 for (i=st->nb_channels-1;i>=0;i--) 703 for (i=0;i<st->nb_channels;i++) 718 EXPORT SpeexResamplerState *speex_resampler_init(spx_uint32_t nb_channels, spx_uint32_t in_rate, spx_uint32_t out_rate, int quality, int *err) 720 return speex_resampler_init_frac(nb_channels, in_rate, out_rate, in_rate, out_rate, quality, err) [all...] |
/external/speex/include/speex/ |
speex_header.h | 67 spx_int32_t nb_channels; /**< Number of channels encoded */ member in struct:SpeexHeader 78 void speex_init_header(SpeexHeader *header, int rate, int nb_channels, const struct SpeexMode *m);
|
speex_resampler.h | 115 * @param nb_channels Number of channels to be processed 123 SpeexResamplerState *speex_resampler_init(spx_uint32_t nb_channels, 132 * @param nb_channels Number of channels to be processed 142 SpeexResamplerState *speex_resampler_init_frac(spx_uint32_t nb_channels,
|
/external/qemu/audio/ |
fmodaudio.c | 48 int nb_channels; member in struct:__anon4195 598 status = FSOUND_Init (conf.freq, conf.nb_channels, 0); 648 {"CHANNELS", AUD_OPT_INT, &conf.nb_channels,
|