Lieber Besucher, herzlich willkommen bei: Linux Forum Linux-Web.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
Benutzerinformationen überspringen
Prof. Dr. Schlaumeier
Wohnort: Mecklenburg, zur Entwicklungshilfe in Chemnitz/Sachsen ;-)
Quellcode |
|
1 2 3 4 5 |
tobi@webbox:~$ artsd unix_connect: can't connect to server (unix:/tmp/ksocket-tobi/webbox-1278-43f86293) ALSA lib pcm_dmix.c:819:(snd_pcm_dmix_open) unable to open slave Error while initializing the sound driver: device: default can't be opened for playback (Device or resource busy) |
Quellcode |
|
1 2 3 4 5 6 |
tobi@webbox:~$ artsd unix_connect: can't connect to server (unix:/tmp/ksocket-tobi/webbox-29bc-43f869d1) ALSA lib pcm_direct.c:812:(snd_pcm_direct_initialize_slave) requested or auto-format is not available ALSA lib pcm_dmix.c:831:(snd_pcm_dmix_open) unable to initialize slave Error while initializing the sound driver: device: default can't be opened for playback (Invalid argument) |
Benutzerinformationen überspringen
Prof. Dr. Schlaumeier
Wohnort: Mecklenburg, zur Entwicklungshilfe in Chemnitz/Sachsen ;-)
Zitat
Original von linuxerr
das sounddevice kann immer nur von einem prozess gelockt werden. wenn also ein programm auf den sound zugreift, kommt kein anderes mehr ran und wird abgewiesen.
Zitat
wenn du aus mehreren quellen zugleich abspielen willst. musst du einen soundserver (zb arts oder esound ) installieren und alle anwendungen auf diesen ausgeben lassen und nicht nach /dev/dsp.
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
tobi@webbox:~$ mplayer 01\ -\ To\ Ride\,\ Shoot\ Straight\ And\ Speak\ The\ Truth.wav MPlayer dev-CVS--4.0.3 (C) 2000-2005 MPlayer Team CPU: Advanced Micro Devices Sempron/Athlon MP/XP Thoroughbred; Duron Applebred (Family: 6, Stepping: 0) MMX2 supported but disabled SSE supported but disabled 3DNow supported but disabled 3DNowExt supported but disabled CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0 Compiled for x86 CPU with extensions: MMX Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts. Opening joystick device /dev/input/js0 Can't open joystick device /dev/input/js0: No such file or directory Can't init input joystick Setting up LIRC support... mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing 01 - To Ride, Shoot Straight And Speak The Truth.wav. Cache fill: 0.00% (0 bytes) Audio file file format detected. ========================================================================== Opening audio decoder: [pcm] Uncompressed PCM audio decoder AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400) Selected audio codec: [pcm] afm: pcm (Uncompressed PCM) ========================================================================== Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??... alsa-init: 1 soundcard found, using: default ALSA lib conf.c:1179:(parse_def) dsnoop is not a compound ALSA lib conf.c:1592:(snd_config_load1) _toplevel_:37:12:Invalid argument ALSA lib conf.c:2837:(snd_config_hook_load) /home/tobi/.asoundrc may be old or corrupted: consider to remove or fix it ALSA lib conf.c:2700:(snd_config_hooks_call) function snd_config_hook_load returned error: Invalid argument ALSA lib conf.c:3066:(snd_config_update_r) hooks failed, removing configuration alsa-init: playback open error: Invalid argument [AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy alsa-init: 1 soundcard found, using: default ALSA lib conf.c:1179:(parse_def) dsnoop is not a compound ALSA lib conf.c:1592:(snd_config_load1) _toplevel_:37:12:Invalid argument ALSA lib conf.c:2837:(snd_config_hook_load) /home/tobi/.asoundrc may be old or corrupted: consider to remove or fix it ALSA lib conf.c:2700:(snd_config_hooks_call) function snd_config_hook_load returned error: Invalid argument ALSA lib conf.c:3066:(snd_config_update_r) hooks failed, removing configuration alsa-init: playback open error: Invalid argument mcop warning: user defined signal handler found for SIG_PIPE, overriding [AO ARTS] Connected to sound server. [AO ARTS] Stream opened. [AO ARTS] buffer size: 20480 [AO ARTS] buffer size: 2048 AO: [arts] 44100Hz 2ch s16le (2 bytes per sample) Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le... Video: no video Starting playback... A: 11.0 (11.0) of 192.0 (03:12.0) 0.7% 74% |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Astaroth« (19.02.2006, 22:27)