Jan Newmarch wrote:
> I can capture sound to a file from a C program. I can play from the file. But
> when i try to playback captured audio directly I get many errors.
Both devices' clocks must be synchronized (this is usually the case only
if they are on the same card), and to avoid underruns, yo
I can capture sound to a file from a C program. I can play from the file. But
when i try to playback captured audio directly I get many errors. My code is
while (1) {
int nread;
if ((nread = snd_pcm_readi (capture_handle, buf, BUF_SIZE)) != BUF_SIZE) {
//if ((nread = snd_pcm_readi (
On 13.08.2012 19:46, Felix Homann wrote:
> Am 13.08.2012 16:59, schrieb Robert M. Albrecht:
>> I can't play audio on the FTU.
>>
>> [...]
>>
>> aplay -c 2 -D hw:0,0 test24.wav
>> Wiedergabe: WAVE 'test24.wav' : Signed 24 bit Little Endian in 3bytes,
>> Rate: 44100 Hz, stereo
>> aplay: set_params:10