Skip to contentSkip to conversation

: DMIX crashes Ekiga

ALSA - lib 0002122 [email protected] 1 participant 1 message May 16, 2006

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=2122>
======================================================================

Reported By:                dsandras
Assigned To:                perex
======================================================================
Project:                    ALSA - lib
Issue ID:                   2122
Category:                   1_pcm_d - direct PCM plugins (dmix+)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     feedback
======================================================================
Date Submitted:             05-13-2006 17:35 CEST
Last Modified:              05-16-2006 11:52 CEST

======================================================================
Summary: DMIX crashes Ekiga
Description:
This problem is probably related to problem #2095 that was closed. Unfortunately, I can not reopen it, so I'm posting a new bug report.

When using DMIX, Ekiga crashes. This problem was not present with earlier versions of libasound2. I applied all patches from CVS.
======================================================================

----------------------------------------------------------------------
tiwai - 05-16-06 11:19
----------------------------------------------------------------------
First, don't apply a single patch but use the whole HG tree. The code sync between tester and developer is one of most important things.

What is the sample rate the app uses? One of differences between your setting and the default is the sample rate. The default is 48k while yours is 44.1k.

Another difference is period and buffer size. The recent dmix code does async data transfer and may have varied periods. Try to set the following in ~/.asoundrc:

defaults.pcm.dmix_max_periods -1

This will force apps the fixed number of periods defined by slave PCM.

----------------------------------------------------------------------
dsandras - 05-16-06 11:52
----------------------------------------------------------------------
It perfectly works with the .asoundrc you gave me.

Is that something that can be done by default for ALSA or does that correspond to something I could change in my ALSA plugin?

Thanks,

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

05-13-06 17:35 dsandras       New Issue                                    
05-13-06 17:39 dsandras       Note Added: 0009795                          
05-13-06 17:41 dsandras       Note Added: 0009796                          
05-13-06 18:29 rlrevell       Note Added: 0009799                          
05-13-06 18:36 dsandras       Note Added: 0009800                          
05-13-06 18:37 dsandras       File Added: busytone.wav                     
05-15-06 10:35 tiwai          Status                   assigned => resolved
05-15-06 10:35 tiwai          Resolution               open => fixed       
05-15-06 10:35 tiwai          Note Added: 0009814                          
05-15-06 11:01 dsandras       Status                   resolved => feedback
05-15-06 11:01 dsandras       Resolution               fixed => reopened   
05-15-06 11:01 dsandras       Note Added: 0009816                          
05-15-06 11:07 tiwai          Note Added: 0009818                          
05-15-06 22:33 dsandras       Note Added: 0009828                          
05-15-06 22:42 rlrevell       Note Added: 0009829                          
05-15-06 22:46 dsandras       Note Added: 0009830                          
05-15-06 22:58 rlrevell       Note Added: 0009831                          
05-15-06 22:59 dsandras       Note Added: 0009832                          
05-15-06 23:28 rlrevell       Note Added: 0009833                          
05-15-06 23:41 dsandras       Note Added: 0009834                          
05-16-06 11:19 tiwai          Note Added: 0009836                          
05-16-06 11:52 dsandras       Note Added: 0009837                          

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

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642