When I tried it I got silence. Traced that to some problem
with snd_pcm_mmap_writei; simply went to non-mmap mode.
Moved the set hw access line into set_hwconfig where it
belongs, and removed the access parameter - everything else
is a global and we all know they suck, but let's be
consistent....
Fixed the sys/asoundlib.h obsolete include warning. Changed
start threshold to one period, as opposed to full buffer.
Cosmetic change to an error message.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
alsa09 support
Logged In: YES
user_id=42487
I haven't tested this, but I've included it in the 0.15.0b release of
madplay for others to try.
Logged In: YES
user_id=455066
When I tried it I got silence. Traced that to some problem
with snd_pcm_mmap_writei; simply went to non-mmap mode.
Moved the set hw access line into set_hwconfig where it
belongs, and removed the access parameter - everything else
is a global and we all know they suck, but let's be
consistent....
Fixed the sys/asoundlib.h obsolete include warning. Changed
start threshold to one period, as opposed to full buffer.
Cosmetic change to an error message.
patch to madplay-0.15.0b for correct alsa operation