[alsa-devel] Driver recovers from underrun in plain ALSA mode, but not in OSS emulation
tiwai at suse.de
Tue Mar 4 16:37:28 CET 2008
At Tue, 04 Mar 2008 09:20:36 -0600,
Timur Tabi wrote:
> Takashi Iwai wrote:
> > The question is whether OSS emulation really notices the underrun.
> > More likely, it's caused by the difference of parameters.
> Can you explain, please? Which parameters could be different?
In many cases, some of hw_params or sw_params values are different
even on the same app when different APIs are used. You can check
pcm*/sub*/* proc files to compare.
Usually it's because of different constraints, e.g. OSS API requires
power-of-two bytes alignment for buffer controls.
More information about the Alsa-devel