Testing/forcing XRUN

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I want to test my driver behaviour when an xrun happens.

I have tried using aplay/arecord, and suspending (ctrl-Z) them while 
playing/recording but this doesn't have the desired effect. (I don't see my 
driver code detecting an xrun).  Instead I see a trigger-stop command to the 
driver.

The apps do report an overrun when they are restarted though.

Can anyone answer these:

1) Is this a valid way to simulate an xrun due to application not keeping up?

1.1) If not, what is? Do I have to write an app that deliberately starves the 
streams?

2) Where is the xrun being detected if my driver doesnt see it?  Where does 
the trigger-stop command come from when I suspend the app?

thanks

Eliot Blennerhassett
AudioScience Inc.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux