Skip to contentSkip to conversation

What does underrun mean with aplay ?

DISCUSSION Robert Rozman 2 participants 2 messages Apr 9, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

I have some problems with 6 channel sis 7012 device - I'm using it as 3 stereo channels. I trigger 3 different instances of aplay at once and I get underrun messages from aplay.

What does this mean ?
How to solve this (bigger buffer? ) ?

It sounds like it is interleaved in short chunks (all channels are heard on all channels) - so it's not really bearable.

Regards,

Robert.

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

#1 lore raw
Quoted 7 lines

I have some problems with 6 channel sis 7012 device - I'm using it as 3 stereo channels. I trigger 3 different instances of aplay at once and I get underrun messages from aplay.

What does this mean ?

It happens because aplay can't send audio data as fast as the card needs it.

Quoted 1 line

How to solve this (bigger buffer? ) ?

Yes, or reduce system load, or run aplay at higher priority (very recommended, since it requires very little cpu time and low latency), or buy a faster disk.

--
Giuliano.

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click