Skip to contentSkip to conversation

: surround40 memory leak

ALSA - driver 0001823 [email protected] 1 participant 1 message Jul 11, 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=1823>
======================================================================
Reported By: darkbrain
Assigned To:
======================================================================

Project:                    ALSA - driver
Issue ID:                   1823
Category:                   PCI - cs46xx
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             
======================================================================
Date Submitted:             02-05-2006 22:59 CET
Last Modified:              07-11-2006 13:28 CEST

======================================================================
Summary: surround40 memory leak
Description:
It seems that surround40 has a memory leak or somthing similar, playing a game in surround40 mode the game result unplayable after some minutes. And there is a problem in CS46xx.conf file, i need to remove the hook on the rear pcm to permit multiple surround40 subdevices to be opened.
======================================================================

----------------------------------------------------------------------
Raymond - 02-12-06 05:09
----------------------------------------------------------------------
How about two or more instances of

speaker-test -t wav -D surround40 -c 4

or

aplay -D surround40 4channels.wav ?

What is the value return by snd_pcm_info_get_subdevices_count() after snd_pcm_open(&pcm, "surround40", SND_PCM_STREAM_PLAYBACK, SND_PCM_NONBLOCK) ?

----------------------------------------------------------------------
Raymond - 07-11-06 13:28
----------------------------------------------------------------------
hooks.0 {
type ctl_elems
hook_args [

      {
         name "Duplicate Front"
         lock true
         preserve true
         value 0
         optional true
      }
    ]

}
The lock means that the control is locked during this pcm is opened, and cannot be changed by others

This prevent you to play multiple surround40 even cs46xx support hardware mixing on rear device

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

02-05-06 22:59 darkbrain      New Issue                                    
02-06-06 06:32 Raymond        Note Added: 0007943                          
02-06-06 07:10 Raymond        Note Edited: 0007943                         
02-06-06 07:31 Raymond        Note Edited: 0007943                         
02-06-06 07:32 Raymond        Note Edited: 0007943                         
02-06-06 10:46 darkbrain      Note Added: 0007945                          
02-06-06 10:46 darkbrain      Note Added: 0007946                          
02-06-06 10:47 darkbrain      Note Deleted: 0007946                        
02-06-06 18:37 darkbrain      Note Added: 0007950                          
02-11-06 15:01 darkbrain      Note Added: 0008018                          
02-12-06 05:09 Raymond        Note Added: 0008025                          
02-15-06 06:21 Raymond        Note Added: 0008076                          
02-21-06 07:56 Raymond        Note Added: 0008152                          
03-27-06 04:42 Raymond        Note Added: 0008987                          
06-02-06 09:33 Raymond        Note Deleted: 0008152                        
06-02-06 09:33 Raymond        Note Deleted: 0008987                        
06-02-06 09:34 Raymond        Note Deleted: 0008076                        
07-11-06 13:28 Raymond        Note Added: 0010970                          

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

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