Ao_alsa Playback Open Error
Contents |
happen, when I tried to execute a mp3 file: admin@wimax-server:/usr/local/movies$ mplayer sample.mp3 MPlayer UNKNOWN-4.4.1 (C) 2000-2009 MPlayer Team mplayer: could not connect to socket arecord audio open error device or resource busy mplayer: No such file or directory Failed to open LIRC support. arecord: main:722: audio open error: device or resource busy You will not be able to use your remote control. Playing sample.mp3. Audio only file format detected. ================================================== playback open error: -16,device or resource busy ======================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 44100 Hz, 2 ch, s16le, 160.0 kbit/11.34% (ratio: 20000->176400) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ================================================== ======================== aplay: main:722: audio open error: device or resource busy [pulse] working around probably broken pause functionality, see http://www.pulseaudio.org/ticket/440 AO: [pulse] Init failed: Connection refused Failed to initialize audio driver 'pulse' [AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '0' [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory [AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory [AO_ALSA] alsa-lib:
Aplay Audio Open Error Device Or Resource Busy
confmisc.c:1251:(snd_func_refer) error evaluating name [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory [AO_ALSA] alsa-lib: conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory [AO_ALSA] alsa-lib: pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default [AO_ALSA] Playback open error: No such file or directory Failed to initialize audio driver 'alsa' [AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le [AO SDL] using aalib audio driver. [AO SDL] Unable to open audio: No available audio device Failed to initialize audio driver 'sdl:aalib' Could not open/initialize audio device -> no sound. Audio: no sound Video: no video admin@wimax-server:/usr/local/movies$ getfacl /dev/snd/* getfacl: Removing leading '/' from absolute path names # file: dev/snd/by-path # owner: root # group: root user::rwx group::r-x other::r-x # file: dev/snd/controlC0 # owner: root # group: audio user::rw- group::rw- other::--- # file: dev/snd/hwC0D0 # owner: root # group: audio user::rw- group::rw- other::--- # file: dev/snd/pcmC0D0c # owner: root # group: audio user::rw- group::rw- other::--- # file: dev/snd/pcmC0D0p # owner: root # group: audio user::rw- group::rw- other::--- # file: dev/snd/pcmC0D1p # owner: root # group: audio user::rw- group::rw- other::--- # file: dev/snd
Help Here Multimedia ALSA sound broken again - "Playback open error: -16,Device or resource busy" Welcome! If this is your first visit, be sure
Alsaaudio.alsaaudioerror: Device Or Resource Busy
to check out the FAQ. You will have to register before alsa device or resource busy you can post in the forums. (Be aware the forums do not accept user names with a aplay: main:722: audio open error: no such file or directory dash "-") Also, logging in lets you avoid the CAPTCHA verification when searching . Select Articles, Forum, or Blog. Posting in the Forums implies acceptance of the Terms and https://ubuntuforums.org/archive/index.php/t-1418908.html Conditions. Results 1 to 10 of 10 Thread: ALSA sound broken again - "Playback open error: -16,Device or resource busy" Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 07-Aug-2014,19:04 #1 jlturriff View Profile View Forum Posts View Blog Entries View Articles Explorer Penguin Join Date Feb https://forums.opensuse.org/showthread.php/500157-ALSA-sound-broken-again-quot-Playback-open-error-16-Device-or-resource-busy-quot 2009 Location Concordia, MO, USA Posts 139 ALSA sound broken again - "Playback open error: -16,Device or resource busy" Once again, my sound is broken. I can hear but my microphones produce nothing. I'm running 13.1 on x86_64 ASUS. I don't run PulseAudio because I have never been able to get it to work. aplay -vv /opt/kde3/share/sound/KDE_Beep_Ahem.wav works. speaker-test shows the following: Code: $speaker-test -c2 -D hw:0,0 -l3 -twav speaker-test 1.0.27.2 Playback device is hw:0,0 Stream parameters are 48000Hz, S16_LE, 2 channels WAV file(s) Playback open error: -16,Device or resource busy I have run alsa-info.sh and posted the output at Code: http://www.alsa-project.org/db/?f=0fcbef194f4653178cafec084b05cb222f57c2f0 Is there some way to determine what program is locking up the sound card? I can't see anything obvious with top or ps. Leslie Reply With Quote 07-Aug-2014,21:58 #2 gogalthorp View Profile View Forum Posts View Blog Entries View Articles Flux Capacitor Penguin Join Date Nov 2009 Location West by God Virginia Posts 12,959 Re: ALSA sound broken again - "Playback open error: -16,Device or resource busy" lsof /
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss http://superuser.com/questions/572229/alsa-no-surround-playback-with-mplayer the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign open error up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top ALSA - no surround playback with mplayer up vote 2 down vote favorite When I run: speaker-test -c6 ...everything is fine. I get 5.1 playback. However, when I run: mplayer -channels 6 "some video with device or resource 5.1 audio" no audio plays. Here is what appears in the terminal: ~$ mplayer /var/remote/projects/playback/video/calibration/5.1video/10000_bc-tlr2_h480p.mov MPlayer UNKNOWN-4.4.5 (C) 2000-2012 MPlayer Team Playing /var/remote/projects/playback/video/calibration/5.1video/10000_bc-tlr2_h480p.mov. libavformat version 53.31.100 (internal) libavformat file format detected. [lavf] stream 0: video (h264), -vid 0 [lavf] stream 1: audio (aac), -aid 0, -alang eng VIDEO: [H264] 848x352 24bpp 23.976 fps 2132.4 kbps (260.3 kbyte/s) Clip info: major_brand: qt minor_version: 537199360 compatible_brands: qt creation_time: 2008-01-08 00:00:27 comment: Encoded and delivered by apple.com/trailers/ comment-eng: Encoded and delivered by apple.com/trailers/ copyright: © 2008 Warner Bros. Pictures. All Rights Reserved copyright-eng: © 2008 Warner Bros. Pictures. All Rights Reserved title: 10,000 BC title-eng: 10,000 BC Load subtitles in /var/remote/projects/playback/video/calibration/5.1video/ ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family libavcodec version 53.60.100 (internal) Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 48000 Hz, 6 ch, s16le, 465.9 kbit/10.11% (ratio: 58238->576000) Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio)) ========================================================================== [AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory [AO_ALSA] alsa-lib: pcm.c:2209:(snd_pcm_open_noupdate) U