Re: [Alsa-user] Playing audio with ALSA api(newbie)
Brought to you by:
perex
From: Torsten S. <tor...@zo...> - 2012-04-11 21:17:34
|
Hello Fabio, > snd_pcm_writei (playback_handle, p, 131072) writes 131072 FRAMES > p += 131072 increases the pointer by 131072 SAMPLES. If you write p += 131072 * number_of_channels instead, your program should do the job. Greets, Torsten |