From: bugtrack@alsa-project.org Subject: [ALSA - driver 0000475]: multiple input streams Date: Fri, 24 Sep 2004 13:30:56 +0200 (CEST) Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: <20040924113056.D19489074@server.perex-int.cz> Content-Type: text/plain; charset=iso-8859-1 Return-path: Received: from mail.perex.cz (gate.perex.cz [82.113.61.162]) by alsa.alsa-project.org (ALSA's E-mail Delivery System) with ESMTP id 29F98288 for ; Fri, 24 Sep 2004 13:30:57 +0200 (MEST) 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 The following bug has been CLOSED ====================================================================== https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000475 ====================================================================== Reported By: omes Assigned To: perex ====================================================================== Project: ALSA - driver Bug ID: 475 Category: PCI - intel8x0 Reproducibility: always Severity: feature Priority: normal Status: closed Distribution: Kernel Version: ====================================================================== Date Submitted: 08-30-2004 22:24 CEST Last Modified: 09-24-2004 13:30 CEST ====================================================================== Summary: multiple input streams Description: Why isnt ALSA handle multiple input streams by default? ====================================================================== ---------------------------------------------------------------------- tiwai - 08-31-2004 12:29 CEST ---------------------------------------------------------------------- Please describe your problem more specifically. Which sound card, etc? ---------------------------------------------------------------------- omes - 09-03-2004 20:45 CEST ---------------------------------------------------------------------- Im sorry that i havent returned your post until now, ive been away this week. Im currently using alsa-lib-1.0.6. Hardware: Integrated sound card (came with an Asus motherboard): 00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02) Its an intel8x0 ALSA is built into the kernel. An example: If I play audio in xmms, then load xine to play a movie or so, this is what it says in the shell; bash-2.05b$ xine This is xine (X11 gui) - a free video player v0.99.2. (c) 2000-2004 The xine Team. ALSA lib pcm_hw.c:1155:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy mplayer gives this result: ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 MP3lib: init layer2&3 finished, tables done AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 24000->176400 (192.0 kbit) Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit... AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian) audio_setup: Can't open audio device /dev/dsp: Device or resource busy alsa-init: got device=0, subdevice=0 alsa-init: 1 soundcard found, using: default (. gmplayer freeze .) (. Closing xmms .) alsa: 44100 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian AO: [alsa] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps) Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit... Video: no video Starting playback... ALSA lib control.c:654:(snd_ctl_open_noupdate) Invalid CTL /dev/mixer alsa-control: mixer attach /dev/mixer error: No such file or directory ALSA lib control.c:654:(snd_ctl_open_noupdate) Invalid CTL /dev/mixer alsa-control: mixer attach /dev/mixer error: No such file or directory ALSA lib control.c:654:(snd_ctl_open_noupdate) Invalid CTL /dev/mixer alsa-control: mixer attach /dev/mixer error: No such file or directory (...) (. Terminating .) ALSA lib control.c:654:(snd_ctl_open_noupdate) Invalid CTL /dev/mixer alsa-control: mixer attach /dev/mixer error: No such file or directory ALSA lib control.c:654:(snd_ctl_open_noupdate) Invalid CTL /dev/mixer alsa-control: mixer attach /dev/mixer error: No such file or directory [ws] Error in display. [ws] Error code: 17 ( BadImplementation (server does not implement operation) )[ws] Request code: 20 [ws] Minor code: 0 [ws] Modules: key_events Xlib: sequence lost (0x1406c > 0x407b) in reply type 0x11! so mplayer complaines about control.c, and xine complaines about pcm_hw.c, both in the alsa-lib. Hope this helped a bit. Tried compiling from source as well, got it up running, but still having the same problem. edited on: 09-03-04 20:45 ---------------------------------------------------------------------- perex - 09-07-2004 16:22 CEST ---------------------------------------------------------------------- It does not seems like a bug. Look for wiki page describing the dmix solution. Bug History Date Modified Username Field Change ====================================================================== 08-30-04 22:24 omes New Bug 08-31-04 12:29 tiwai Bugnote Added: 0001671 09-03-04 18:47 omes Bug Monitored: omes 09-03-04 19:18 omes Bugnote Added: 0001696 09-03-04 19:30 omes Bugnote Edited: 0001696 09-03-04 20:45 omes Bugnote Edited: 0001696 09-07-04 16:22 perex Bugnote Added: 0001708 09-07-04 16:22 perex Category 0_compilation problem_!!! => PCI - intel8x0 09-07-04 16:22 perex Resolution open => won't fix 09-07-04 16:22 perex Status assigned => resolved 09-24-04 13:30 tiwai Status resolved => closed ====================================================================== ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php