Re: [Svxlink-devel] Sound Card Problems
Brought to you by:
sm0svx
From: Chris A. <re...@99...> - 2004-06-19 02:42:19
|
Ahhhhh, that helps. That was the same error I got. Here's the solution: Find the file src/async/core/AsyncAudioDevice.cpp Edit that file to comment out the calls to SNDCTL_DSP_SETTRIGGER. This is how: > > > > /* > > > > if (device_caps & DSP_CAP_TRIGGER) > > > > { > > > > arg = ~(PCM_ENABLE_OUTPUT | PCM_ENABLE_INPUT); > > > > if(ioctl(fd, SNDCTL_DSP_SETTRIGGER, &arg) == -1) > > > > { > > > > perror("SNDCTL_DSP_SETTRIGGER ioctl failed"); > > > > close(); > > > > return false; > > > > } > > > > } > > > > */ Then after that, recompile the package and do the usual make install. This should fix it. On Sat, 2004-06-19 at 02:31, Sid Boyce wrote: > I'm using alsa, without the export, it gives an error --- > SNDCTL_DSP_SETTRIGGER ioctl failed: Broken pipe > Regards > Sid. > > Chris Abbott wrote: > > >>From what I can tell. you are using oss, I use alsa over here, i had to > >change something in one of the files and recompile it to get it to work, > >but after that it's fine. I noticed you did an export for the > >async_audio_trigger. Have you tried without? I'm just curious. And it is > >possible that your driver might not allow 8000Hz, 48000Hz is the > >standard, i think. So, I'm not sure, sorry if I"m not being much help. > > > >On Fri, 2004-06-18 at 22:13, Sid Boyce wrote: > > > > > >>Chris Abbott wrote: > >> > >> > >> > >>>What sound driver are you using, alsa or oss or something else? Also, > >>>what type of sound card do you have? > >>> > >>>73 > >>> > >>>KD5WCR > >>> > >>> > >>>On Fri, 2004-06-18 at 21:02, Jon wrote: > >>> > >>> > >>> > >>> > >>>>Hi All, > >>>> > >>>>I've installed both Qtel and SVX-Server and am having issues with the sound > >>>>card which I beleie is an AC97 (on board thing).. > >>>> > >>>>>From both applications I get the following error message > >>>> > >>>>*** error: Sampling speed could not be set to 8000Hz. The closest speed > >>>>returned by the driver was 48000Hz > >>>> > >>>>and then "Could not open Audio Device" > >>>> > >>>>The sound card works fine under other X applications such as XMMS etc. Any > >>>>help would be appreciated. The OS is RH9 > >>>> > >>>>Thanks de Jon > >>>>G7RUP > >>>> > >>>> > >>>> > >>>>------------------------------------------------------- > >>>>This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > >>>>Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > >>>>Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > >>>>REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > >>>>_______________________________________________ > >>>>Svxlink-devel mailing list > >>>>Svx...@li... > >>>>https://lists.sourceforge.net/lists/listinfo/svxlink-devel > >>>> > >>>> > >>>> > >>>> > >>I can't remember if this is a flavour of the problem I had, but it > >>sounds familiar and was fixed by starting qtel with a script containing > >>the following. I'm assuming your audio otherwise works. > >>export ASYNC_AUDIO_NOTRIGGER=1 > >>qtel& > >>========================================= > >>My sound modules for the Asus A7N8X-E motherboard on-board sound. > >>snd_seq_oss 35136 0 > >>snd_seq_midi_event 8256 1 snd_seq_oss > >>snd_seq 58320 5 snd_seq_oss,snd_seq_midi_event > >>snd_pcm_oss 61736 0 > >>snd_mixer_oss 20992 2 snd_pcm_oss > >>snd_intel8x0 37804 5 > >>snd_ac97_codec 72004 1 snd_intel8x0 > >>snd_pcm 108616 2 snd_pcm_oss,snd_intel8x0 > >>snd_timer 28612 2 snd_seq,snd_pcm > >>snd_page_alloc 12424 2 snd_intel8x0,snd_pcm > >>gameport 4928 1 snd_intel8x0 > >>snd_mpu401_uart 8832 1 snd_intel8x0 > >>snd_rawmidi 27620 1 snd_mpu401_uart > >>snd_seq_device 9032 3 snd_seq_oss,snd_seq,snd_rawmidi > >>snd 67908 21 > >>snd_seq_oss,snd_seq_midi_event,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device > >>soundcore 9952 2 snd > >> > >> > >>Regards > >>Sid. > >> > >> > >Chris Abbott <re...@99...> > >Website: <http://www.chrisabbott.net> > >Blog: <http://www.99b.org/chris> > >Ximian Evolution 1.4.6 on Gentoo Liunx > > > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > >Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > >Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > >REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > >_______________________________________________ > >Svxlink-devel mailing list > >Svx...@li... > >https://lists.sourceforge.net/lists/listinfo/svxlink-devel > > > > > > > > > > Chris Abbott <re...@99...> Website: <http://www.chrisabbott.net> Blog: <http://www.99b.org/chris> Ximian Evolution 1.4.6 on Gentoo Liunx |