Re: [Svxlink-devel] Alsa?/oss problems
Brought to you by:
sm0svx
From: Chris A. <re...@99...> - 2004-05-07 22:47:42
|
Flawlessly, so far. It does take over the audio device like EchoLinux, so I can start other apps that need audio, such as Quake 3 or gv4l. And it also only pulls audio from the source I have set to capture from on the ALSA-Mixer. Excellent application! On Fri, 2004-05-07 at 06:23, Tobias Blomberg wrote: > On Thursday 06 May 2004 23.50, Chris Abbott wrote: > > Sweet, that fixed it, thanks for the help, now I can finally give a > > demonstration of this program, the only problem is, my server has to do > > configures with sh ./configure instead of ./configure, I don't have > > something done right, so I'll have to figure that out. But thanks for > > the help and ALSA users do that, comment out that field and it should > > work. > > Ok, so you mean that both audio input and output work without flaws now ? No > strange printouts ? > > 73 de SM0SVX / Tobias > > > > > > On Thu, 2004-05-06 at 06:11, Tobias Blomberg wrote: > > > On Wednesday 05 May 2004 21.48, Chris Abbott wrote: > > > > Ok, I'm running kernel-2.6.6-rc1 with Alsa. I do have oss-emulation > > > > active and the oss sections under alsa are compiled in, but no direct > > > > oss, as of i think a late 2.5 kernel, it became deprecated. I'm not > > > > sure what is going on, as oss programs other than qtel are fine with > > > > it, i can use xmms on oss, and avidemux2(video editor) on oss and they > > > > are fine. When I start qtel and try to login to a station, i get: > > > > > > > > SNDCTL_DSP_SETTRIGGER ioctl failed: Broken pipe > > > > > > > > It does this on the cvs and stable build. I have a Creative SBLive! > > > > card using the emu10k1 driver. I was wondering if anybody had this > > > > problem and if there would be a chance that svxlink could use both alsa > > > > and oss? I'm not sure. I'm just confused. > > > > > > Ok. I think most other programs do not use the trigger functionality in > > > OSS. That probably is why they work. I did a fast Google and found a post > > > concerning the same problem. No solution though. > > > > > > You could try to experiment a little. Find the file: > > > > > > src/async/core/AsyncAudioDevice.cpp > > > > > > Edit that file to comment out the calls to SNDCTL_DSP_SETTRIGGER. Maybe > > > the Alsa driver can do without them. The trigger thing is used in two > > > places and looks something like: > > > > > > /* > > > 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; > > > } > > > } > > > */ > > > > > > Comment it out using /* and */ as shown above. Do the same with the other > > > occurance. Recompile and test. Check that you have both sound input and > > > output. If this works I can put in a fix for this in the next release. > > > > > > I still think it is a bug in Alsa though. I'll try to get in touch with > > > the Alsa guys to solve the problem. > > > > > > 73 de SM0SVX / Tobias > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by Sleepycat Software > > > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to > > > deliver higher performing products faster, at low TCO. > > > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > > > _______________________________________________ > > > 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 > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by Sleepycat Software > > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to > > deliver higher performing products faster, at low TCO. > > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > > _______________________________________________ > > Svxlink-devel mailing list > > Svx...@li... > > https://lists.sourceforge.net/lists/listinfo/svxlink-devel > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to > deliver higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > _______________________________________________ > 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 |