search for: snd_pcm_open

Displaying 15 results from an estimated 15 matches for "snd_pcm_open".

2007 Jul 15
2
1.4.7 chan_alsa : snd_pcm_open failed
asterisk-1.4.7, Fedora 7, intel emt64 - nocona: == Parsing '/etc/asterisk/alsa.conf': Found ALSA lib pcm_dsnoop.c:558:(snd_pcm_dsnoop_open) unable to open slave [Jul 15 10:12:23] ERROR[24420]: chan_alsa.c:365 alsa_card_init: snd_pcm_open failed: No such file or directory [Jul 15 10:12:23] ERROR[24420]: chan_alsa.c:481 soundcard_init: Problem opening alsa I/O devices == No sound card detected -- console channel will be unavailable But: ls /dev/snd -l total 0 crw-rw-rw-+ 1 root root 116, 7 2007-07-14 14:22 controlC0 crw-rw-rw...
2004 Apr 22
1
ALSA help required !
...2.4.18-14 kernel (RH8). I have configured the sound card ok with alsaconf and tested with the aplay , works fine. But when I run asterisk it says.. ------------------------------- [chan_alsa.so] => (ALSA Console Channel Driver) Apr 20 18:28:34 ERROR[8192]: chan_alsa.c:339 alsa_card_init: snd_pcm_open failed: No such device or address Apr 20 18:28:34 ERROR[8192]: chan_alsa.c:339 alsa_card_init: snd_pcm_open failed: No such device or address Apr 20 18:28:34 ERROR[8192]: chan_alsa.c:474 soundcard_init: Problem opening alsa I/O devices == No sound card detected -- console channel will be u...
2015 Jul 02
5
Asterisk 11 and pulseaudio setup as local user
>>I'm not sure that your question is clear. You'll probably want to be more specific. >> What is pulse? You mention "as a user", are you talking about voicepulse.com ? >> What are you trying to do with pulse? >> What problem are you running into? Sorry Rusty... I am trying to get Asterisk 11 to co-exist with a centos 7 box that has pulse audio running as
2009 Oct 03
1
Asterisk and Jack
...ve { pcm "jack1" rate 8000 format FLOAT channels 2 } } ctl.mixer0 { type hw card 1 } in alsa.conf?: input_device=default output_device=default It doesn't work. Asterisk outputs are : [Oct 3 10:34:50] ERROR[1364]: chan_alsa.c:175 alsa_card_init: snd_pcm_open failed: No such file or directory [Oct 3 10:34:50] ERROR[1364]: chan_alsa.c:175 alsa_card_init: snd_pcm_open failed: No such file or directory [Oct 3 10:34:50] ERROR[1364]: chan_alsa.c:272 soundcard_init: Problem opening ALSA I/O devices But aplay my_test_file.wav works fine and arecord too......
2009 Jan 11
2
hdmi an console dsp
...input_device=hw:0,3 output_device=hw:0,3 When starting asterisk I get: ^[[1;30;40m == ^[[0;37;40mParsing '/etc/asterisk/alsa.conf': Found [Jan 10 18:56:53] ^[[31;40mERROR^[[0;37;40m[23546]: ^[[1;37;40mchan_alsa.c^[[0;37;40m:^[[1;37;40m366^[[0;37;40m ^[[1;37;40malsa_card_init^[[0;37;40m: snd_pcm_open failed: No [Jan 10 18:56:53] ^[[31;40mERROR^[[0;37;40m[23546]: ^[[1;37;40mchan_alsa.c^[[0;37;40m:^[[1;37;40m385^[[0;37;40m ^[[1;37;40malsa_card_init^[[0;37;40m: set_channels failed: Inv [Jan 10 18:56:53] ^[[1;31;40mWARNING^[[0;37;40m[23546]: ^[[1;37;40mchan_alsa.c^[[0;37;40m:^[[1;37;40m390^[[0;3...
2015 Jun 21
0
Asterisk 11 and pulse audio
...g asterisk 11 to work with pulseaudio? I chown user:group /var/lib/asterisk /var/run/asterisk /var/spool/asterisk /var/log/asterisk /usr/lib/asterisk /etc/asterisk change user and group in asterisk.conf when is run: su user -c "asterisk -vvvvvc" alsa.conf reports malsa_card_init^[[0m: snd_pcm_open failed: Connection refused What am I missing to get asterisk 11 to run as a user? Thanks, Jerry -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150620/40dfcdb4/attachment.html>
2015 Jul 03
0
Asterisk 11 and pulseaudio setup as local user
alsa_card_init^[[0m: snd_pcm_open failed: Connection refused soundcard_init^[[0m: Problem opening alsa capture device These are the errors I get. I changed the following: chown -R myuser:myuser /var/log/asterisk chown -R myuser:myuser /var/lib/asterisk chown -R myuser:myuser /var/spool/asterisk chown -R myuser:myuser /var/run/as...
2005 Sep 16
0
alsa issue with asound.conf
I am using alsa with asterisk. The asound.conf is below. When I start asterisk with /etc/asound.conf present I get errors on the console that: chan_alsa.c:304 alsa_card_init: snd_pcm_open failed: Invalid argument If I remove the asound.conf asterisk starts up and works. However I NEED the asound.conf for another application. What might be the issue here? THanks jerry /etc/asound.conf ------------- # This is /etc/asound.conf # # this makes legacy OSS apps use alsa software mixin...
2011 Oct 20
0
problems getting chan_alsa.so to run
...What might be the problem?! Here is the ouptut: office*CLI> module load chan_alsa.so Unable to load module chan_alsa.so Command 'module load chan_alsa.so ' failed. == Parsing '/etc/asterisk/alsa.conf': == Found [Oct 20 21:54:16] ERROR[17849]: chan_alsa.c:180 alsa_card_init: snd_pcm_open failed: Connection refused [Oct 20 21:54:16] ERROR[17849]: chan_alsa.c:276 soundcard_init: Problem opening alsa capture device == No sound card detected -- console channel will be unavailable == Turn off ALSA support by adding 'noload=chan_alsa.so' in /etc/asterisk/modules.conf Tamer
2001 Mar 03
1
libao: alsa plugin won't compile
...to alsa-9.0 changes. Alsa headers seem to be there: /usr/include/linux> ls -l as*.h -rw-r--r-- 1 root root 35994 Mar 3 10:57 asequencer.h -rw-r--r-- 1 root root 31982 Mar 3 10:57 asound.h -rw-r--r-- 1 root root 10435 Mar 3 10:57 asoundef.h from config.cache: ac_cv_lib_asound_snd_pcm_open=${ac_cv_lib_asound_snd_pcm_open=yes} The compilation error: gcc -DPACKAGE=\"libao\" -DVERSION=\"0.6.0\" -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_SYS_SOUNDCARD_H=1 -I. -I. -I../../.. -I../../../include -O20 -ffast-math -D_REENTRANT -fsigned-char -DAO_PLUGIN_PATH=\...
2007 Jan 29
0
3 commits - autogen.sh configure.ac player/.gitignore player/Makefile.am player/swfdec_playback_alsa.c player/swfdec_playback.c player/swfdec_playback_none.c
...void -swfdec_stream_open (Sound *sound, SwfdecAudio *audio) -{ - Stream *stream; - snd_pcm_t *ret; - snd_pcm_hw_params_t *hw_params; - unsigned int rate; - snd_pcm_uframes_t uframes; - - /* "default" uses dmix, and dmix ticks way slow, so this thingy here stutters */ - ALSA_ERROR (snd_pcm_open (&ret, "default", SND_PCM_STREAM_PLAYBACK, SND_PCM_NONBLOCK), - "Failed to open sound device", ); - - snd_pcm_hw_params_alloca (&hw_params); - if (snd_pcm_hw_params_any (ret, hw_params) < 0) { - g_printerr ("No sound format available\n"); - retu...
2001 Mar 16
3
Patches for NetBSD
...ao: $NetBSD: patch-aa,v 1.1.1.1 2001/03/15 20:35:58 wiz Exp $ --- configure.orig Sun Feb 25 20:58:48 2001 +++ configure Wed Mar 14 22:03:19 2001 @@ -2086,6 +2086,8 @@ HAVE_OSS_TRUE='#' HAVE_OSS_FALSE= fi +HAVE_OSS_TRUE= +HAVE_OSS_FALSE='#' echo $ac_n "checking for snd_pcm_open in -lasound""... $ac_c" 1>&6 $NetBSD: patch-ab,v 1.1.1.1 2001/03/15 20:35:58 wiz Exp $ --- ../libao-0.6.0.orig/src/plugins/oss/ao_oss.c Fri Feb 23 17:31:48 2001 +++ src/plugins/oss/ao_oss.c Wed Mar 14 22:12:22 2001 @@ -113,7 +113,7 @@ } } else {...
2001 Oct 23
4
Problems compiling under OS X
While trying to compile libao 0.8.0 under OS X 10.1, I got the following problems: > [localhost:ecc/Sources/libao-0.8.0] root# ./configure > creating cache ./config.cache > checking for a BSD compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking whether make sets ${MAKE}... yes > checking for working aclocal... found >
2007 Jan 31
0
Branch 'interpreter' - 20 commits - autogen.sh configure.ac libswfdec/js libswfdec/swfdec_debug.h libswfdec/swfdec_js.c libswfdec/swfdec_js_color.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_script.c
...void -swfdec_stream_open (Sound *sound, SwfdecAudio *audio) -{ - Stream *stream; - snd_pcm_t *ret; - snd_pcm_hw_params_t *hw_params; - unsigned int rate; - snd_pcm_uframes_t uframes; - - /* "default" uses dmix, and dmix ticks way slow, so this thingy here stutters */ - ALSA_ERROR (snd_pcm_open (&ret, "default", SND_PCM_STREAM_PLAYBACK, SND_PCM_NONBLOCK), - "Failed to open sound device", ); - - snd_pcm_hw_params_alloca (&hw_params); - if (snd_pcm_hw_params_any (ret, hw_params) < 0) { - g_printerr ("No sound format available\n"); - retu...
2007 Mar 27
0
15 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/.gitignore libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_player.h
...void +swfdec_stream_open (Sound *sound, SwfdecAudio *audio) +{ + Stream *stream; + snd_pcm_t *ret; + snd_pcm_hw_params_t *hw_params; + unsigned int rate; + snd_pcm_uframes_t uframes; + + /* "default" uses dmix, and dmix ticks way slow, so this thingy here stutters */ + ALSA_ERROR (snd_pcm_open (&ret, "default", SND_PCM_STREAM_PLAYBACK, SND_PCM_NONBLOCK), + "Failed to open sound device", ); + + snd_pcm_hw_params_alloca (&hw_params); + if (snd_pcm_hw_params_any (ret, hw_params) < 0) { + g_printerr ("No sound format available\n"); + retu...