Skip to contentSkip to conversation

: "alsa-play: xrun of at least 0.009 msecs. resetting stream" : inopportune small pauses while playing

ALSA - driver 0001548 [email protected] 1 participant 1 message Nov 21, 2005

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1548>
======================================================================
Reported By: moncnam
Assigned To:
======================================================================

Project:                    ALSA - driver
Issue ID:                   1548
Category:                   PCI - intel8x0m
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     assigned
Distribution:               debian sarge 3.1
Kernel Version:             2.6.13-rc7
======================================================================
Date Submitted:             11-12-2005 10:58 CET
Last Modified:              11-22-2005 00:43 CET

======================================================================
Summary: "alsa-play: xrun of at least 0.009 msecs. resetting
stream" : inopportune small pauses while playing Description:
whatever the player i use (alsaplayer, xmms, mplayer) i experience small pause while playing (half of a second)
using mplayer, i can see the following message appearing when the pause occur
<<alsa-play: xrun of at least 0.009 msecs. resetting stream>> the playing doesn't stop, it continue well, just a small pause i have no other messages in dmesg or in syslog
======================================================================

----------------------------------------------------------------------
sashak - 11-22-05 00:31
----------------------------------------------------------------------
Underrun happens then driver's playback audio buffer becomes empty before next portion of samples were written. In many cases it is triggered by external event like system overload (it is possible if you play huge movies on slow cpu) or intencive io operations.

----------------------------------------------------------------------
moncnam - 11-22-05 00:43
----------------------------------------------------------------------
um um,
i think i should trick my /etc/asound.conf file and add, for example a greater buffer or something, i will read again a little more i thanks much for your answers
in case you are curious, here is my simple conf
(one week to switch from oss to alsa, but now mix is working - great)

###########################################

ste@station:~$ cat /etc/asound.conf
pcm.!default { type plug slave.pcm "dmix" }
pcm.!dmix {
        type dmix
        ipc_key 1
        ipc_key_add_uid true
        slave {
                pcm "hw:0,0"
                period_size     2048
        }
        bindings { 0 0 1 1 }
}
###########################################

Issue History
Date Modified Username Field Change
======================================================================

11-12-05 10:58 moncnam        New Issue                                    
11-12-05 10:58 moncnam        Distribution              => debian sarge 3.1
11-12-05 10:58 moncnam        Kernel Version            => 2.6.13-rc7      
11-21-05 23:56 sashak         Note Added: 0006779                          
11-22-05 00:04 moncnam        Note Added: 0006781                          
11-22-05 00:31 sashak         Note Added: 0006783                          
11-22-05 00:31 sashak         Assigned To              sashak =>           
11-22-05 00:43 moncnam        Note Added: 0006784                          

======================================================================

-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click