From: bugtrack@alsa-project.org Subject: [ALSA - driver 0001823]: surround40 memory leak Date: Mon, 27 Mar 2006 04:42:39 +0200 Message-ID: <54e655f8f0dd2a7e309c229b1b403720@bugtrack.alsa-project.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from bugtrack.alsa-project.org (gate.perex.cz [85.132.177.35]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id EF3431E3 for ; Mon, 27 Mar 2006 04:42:39 +0200 (MEST) Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org A NOTE has been added to this issue. ====================================================================== ====================================================================== 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: 03-27-2006 04:42 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-21-06 07:56 ---------------------------------------------------------------------- What is the rate_max value return by snd_pcm_hw_params_get_rate_max() for "surround40" pcm of your cs46xx ? https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1862 ---------------------------------------------------------------------- Raymond - 03-27-06 04:42 ---------------------------------------------------------------------- For those sound cards which support hardware mixing, some resources (e.g. pcm_channel allocated by cs46xx_dsp_create_pcm_channel() in cs46x) are usually dynamically allocated by at snd_pcm_xxx_hw_params() no error in snd_pcm_open(pcm,"surround40",,) does not guarantee enough resources when calling snd_pcm_hw_params() 31 playback subdevices in front and rear device will allow the application to open 16 surround40 pcm but the last one will fail in snd_pcm_hw_params(). 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 ====================================================================== ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642