Skip to contentSkip to conversation

: multiple input streams

ALSA - driver 0000475 [email protected] 1 participant 1 message Sep 7, 2004

lore
Share & tools
lore
#0 lore raw

The following bug has been RESOLVED.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_advanced_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:                     resolved

Distribution:
Kernel Version:
Resolution: won't fix
======================================================================

Date Submitted:             08-30-2004 22:24 CEST
Last Modified:              09-07-2004 16:22 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

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

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click