Thanks Clemens,
it is really not a small example and an uneven path to go through the
whole files... But may be you or someone else could answer my short
questions? I have read a file to buffer with "allframes".
1.) Do I use snd_pcm_writei(...) with a size of "allframes" or loop it
with smaller packages (periodsize)
2.) What are the actual functions to get the interrupt and send the
frames needed into the ringbuffer (standard I/O or select)?
If you start with ALSA you will find enough pieces of code. But it is
not very clear, because many pieces of cake are done with much elder
APIs from ALSA...
Best regards
Thomas
Am 12.08.2017 um 18:30 schrieb Clemens Ladisch:
ThomasJF wrote:
could anyone please link me to or show me a small demo example, like
"pcm_min.c" with working snd_pcm_open in SND_PCM_NONBLOCK - mode?
alsa-utils/alsaloop, but it's not quite small.
Regards,
Clemens
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel