17 Jan
2011
17 Jan
'11
8:46 a.m.
torsten.schenk wrote:
I figured out that the difference between my driver and existing ones is, that my driver only allows one client and others multiple.
Very few devices can mix streams in hardware.
To get software mixing, you have to add the dmix plugin to the default device for your card; see alsa-lib/src/conf/cards/.
Another point (perhaps not unrelated to this) is, that I get a bug (see below) that seems to tell me, that prepare cannot schedule.
ALSA doesn't prevent the prepare callback from scheduling, but I'd guess that your code disables interrupts somewhere.
Regards, Clemens