Displaying 1 result from an estimated 1 matches for "snd_pcm_format_u8".
2004 Aug 06
2
Speex/Linux/ALSA
...when I run it,
speex_bits_write always returns 38 bytes no matter what I send it.
Here are some details of what I am doing, some questions I have,
and hopefully someone can point out what I am doing wrong.
The ALSA call to snd_pcm_hw_params_set_format is setting the sound
format to unsigned 8 bit SND_PCM_FORMAT_U8
Q - Do I have to use 16 bit for speex?
The ALSA call to snd_pcm_hw_params_set_rate_near is setting the
rate to 11025 hz, the lowest I have been successful with.
Q - how does this correlate to speex narrow and wide modes?
The ALSA call to snd_pcm_hw_params_set_channels is setting it to
a single...