From: bugtrack@alsa-project.org Subject: [ALSA - driver 0001823]: surround40 memory leak Date: Mon, 6 Feb 2006 10:46:50 +0100 Message-ID: <6f55d584adf7cef14d5e90e6980a16d7@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 5EC8F1CF for ; Mon, 6 Feb 2006 10:46:50 +0100 (MET) 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: 02-06-2006 10:46 CET ====================================================================== 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-06-06 07:32 ---------------------------------------------------------------------- How do the driver support Surround40 ? static struct snd_pcm_hardware snd_cs46xx_playback = { .channels_min = 1, .channels_max = 2, It look like three 2 channels pcm devices if ((err = snd_cs46xx_pcm(chip, 0, NULL)) < 0) { snd_card_free(card); return err; } #ifdef CONFIG_SND_CS46XX_NEW_DSP if ((err = snd_cs46xx_pcm_rear(chip,1, NULL)) < 0) { snd_card_free(card); return err; } #ifdef CONFIG_SND_CS46XX_NEW_DSP if (chip->nr_ac97_codecs ==2) { if ((err = snd_cs46xx_pcm_center_lfe(chip,3,NULL)) < 0) { snd_card_free(card); return err; } } #endif ---------------------------------------------------------------------- darkbrain - 02-06-06 10:46 ---------------------------------------------------------------------- Well i'm not an alsa driver guru, i think that simply we have 2 channels pcm 1 front and 1 rear and surround40 should be only an asound.conf "tweak" that merge them together to virtualize 1 surround40 channel. 3 channels are probably supported by cards that supports 5+1 channels and it's not my case. Hmm if i'm correct there is a problem only on the rear pcm, i'll test it. Any way by user side it works i can see a dvd with 4 channels and i tested it very well :) 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 ====================================================================== ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642