Skip to contentSkip to conversation

Bug with PCM plug layer with mmap emulation=true ?

DISCUSSION Nikhil Rao 1 participant 1 message Apr 3, 2006 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Nikhil Rao

author
#1 lore raw

Hello,

I have observed that the using pcm plug layer with mmap emulation=true in alsa.conf, causes the first period of data to be sent twice to the driver. I also verified this by dumping the PCM data to a file (using the copy callback)

I have tried experiments using the ALSA driver (ver 1.0.10) written by me for my development system (an SoC)
and also the intelx80 driver on a Suse 10.0 system (ALSA ver 1.0.9b). I modified the intelx80 driver so that it only supports 48Khz and then used the plughw device to playout a 44Khz sample. There is a distinct stutter audible at the beginning of the clip caused by the first period being presented twice to the hardware.

Is this a known problem ? if so, is a workaround available (my development platform does not support mmap currently).

Thanks,
Nikhil

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642