At Wed, 18 Feb 2004 07:04:09 -0500,
Francisco Moraes wrote:
> 
> Takashi Iwai wrote:
> 
> >it already sounds like you're accessing a wrong register...
> >  
> >
> 
> I removed all the writes and left only mine and I can now trace the PTR 
> writes. I have not been able to get interrupts working, so it seems like 
> alsa keeps calling the PCM trigger function with a start and then 
> followed by a stop. And the process goes on.

this is likely buffer underrun.
i guess the pointer callback doesn't return the correct value, and the
ALSA PCM core thought it's out of sync.  try to put printk this
value.

the OSS emulation resets stop/start automatically, so it's not
avaoidable.  but ALSA native apps do it by themselves, so it's the
application thing.  you can disable the behabior in the application
itself (see aplay.c and xrun).


Takashi


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to