Re: [Alsa-devel] sinus example

2002-03-20 Thread Jaroslav Kysela
On Wed, 20 Mar 2002, Mathieu Dube wrote: > Hi, > I tried to run the example given in the documentation and what I get is this: > ALSA lib pcm_hw.c:167:(snd_pcm_hw_sw_params) SNDRV_PCM_IOCTL_SW_PARAMS > failed: Invalid argument > > Im wondering what it could be and what error I could look

Re: [Alsa-devel] using external MIDI device to control the computer

2002-03-20 Thread fn ln
--- Paul Davis <[EMAIL PROTECTED]> wrote: > >etc. I imagine I would have to have a kernel module which would > >implement filtering of certain events and passing them to some place, > >like a pipe that my control program (perhaps perl) would read and > >perform corresponding actions that I woul

[Alsa-devel] ALSA AMD OOPS

2002-03-20 Thread Mark Constable
I have not been able to run ALSA all this year using an Athlon 1200 and a Duron 1000. Every few weeks I try CVS again but I am still getting the same result with both computers. As soon as I load any ALSA driver either machine will lock solid within a few minutes. I just had an uptime of 10 days u

[Alsa-devel] Monitoring output in realtime, is it possible?

2002-03-20 Thread Dave Andruczyk
Is there any way to monitor the audio output, of ANY channels via some setup in .asoundrc?? I'm looking to do what the older ALSA 0.5.x loopback did. My app did have ALSA support until that portion was dropped with the 0.9.x series. Has anyone been able to get a loopback copy of audio being

[Alsa-devel] Quick devfs question.

2002-03-20 Thread Adam K Kirchhoff
So I just installed devfs, and now seemingly have everything up and running. There's just one problem that I'm encountering. I'm using that trick of setting my rear channel duplicating my front channel with my .asoundrc setup as: pcm.ch4dup { type plug slave.pcm surround40

Re: [Alsa-devel] rtcw,quake3 hang on exit

2002-03-20 Thread Steven Walter
On Wed, Mar 20, 2002 at 11:05:52PM +0100, Michael Jochum wrote: [...] > Steven Walter reported that the problem also exists in the demo version > of the games which is aviable at various places. maybe you could debug > the problem? > >http://www.3dgamers.com/dl/games/returnwolfenstein/wolfmpdemo

Re: [Alsa-devel] Re: Playback stutters - Correction

2002-03-20 Thread Zenaan Harkness
On Wed, Mar 20, 2002 at 03:06:56AM -0500, Paul Davis wrote: > >CORRECTION: > >Just retested with full hdparm (added -u setting) settings on > >2.4.19-pre3-ac+preempt, and no skipping with above activities. This > >seems pretty good. > > > >I could generate skips when switching from X to text conso

Re: [Alsa-devel] rtcw,quake3 hang on exit

2002-03-20 Thread Steven Walter
I can confirm this an an Athlon with CM8738-6CH sound card, as well as some other interesting related effects. These problems exist even if rtcw/q3demo are called using the "aoss" wrapper script. On Wed, Mar 20, 2002 at 08:58:22PM +0100, Michael Jochum wrote: > hi! > > some time back there has

Re: [Alsa-devel] rtcw,quake3 hang on exit

2002-03-20 Thread Michael Jochum
hi paul! On Wed, 2002-03-20 at 22:47, Paul Davis wrote: > sure, it does. but strace won't see, since it all happens *inside* the > kernel's handling of sys_exit(). strace merely traces actual syscalls, > not what happens inside the kernel. _exit will call sys_close for > every file in the task's

[Alsa-devel] Re: Playback studders

2002-03-20 Thread Hod McWuff
I've got a few different ones: emu10k1 on a 1G P3, ymfpci on a P4, that Maestro on a couple of Dell laptops, and a gaggle of crappier P3's with ens1371's and i810_audio's. They all work fine now, but I had a bitchin' time getting them that way. Hadn't noticed the hdparm thing, but I had that se

Re: [Alsa-devel] rtcw,quake3 hang on exit

2002-03-20 Thread Dan Hollis
On Wed, 20 Mar 2002, Paul Davis wrote: > >so what kind of bug is this? rtcw? alsa? kernel? > you haven't really described the bug very much. something to do with > processes left around, etc. > does the program(s) in question use threads? if so, using _exit() will > fail to terminate all threads i

Re: [Alsa-devel] rtcw,quake3 hang on exit

2002-03-20 Thread Paul Davis
>i have done a strace run of rtcw and found some interesting things: > >somewhere rtcw opens the dsp device: >open("/dev/dsp", O_RDWR)= 16 >but i cant find the coresponding >close(16) > >this are the last lines of output (process locks here): > >write(2, "- CL_Shutdown -\n"

[Alsa-devel] sinus example

2002-03-20 Thread Mathieu Dube
Hi, I tried to run the example given in the documentation and what I get is this: ALSA lib pcm_hw.c:167:(snd_pcm_hw_sw_params) SNDRV_PCM_IOCTL_SW_PARAMS failed: Invalid argument Im wondering what it could be and what error I could look for to solve that. Thanks -Mat -- Mathieu Dube --

[Alsa-devel] rtcw,quake3 hang on exit

2002-03-20 Thread Michael Jochum
hi! some time back there has been a similar bug report about the same problem: http://www.mail-archive.com/alsa-user@lists.sourceforge.net/msg01675.html with no response ... so i will be a bit more verbose :) it have this problem on all computers (Athlon, P3, P4, Cleron) i have access to. all of

Re: [Alsa-devel] Re: Playback stutters - Correction

2002-03-20 Thread Paul Davis
>Just for your info, the Windows sound drivers for the Dell are just as bad. >I propose that it is a hardware problem, and not an alsa problem. if you read to the bottom, you'll notice that the problem is solved, and it (was) a Linux kernel problem :) --p ___

Re: [Alsa-devel] snd_pcm_hw_params_t definition

2002-03-20 Thread Paul Davis
>Hi, > Im trying to compile a program that uses alsa lib 0.9 and since by just > >including alsa/asoundlib.h it doesnt give the compiler a valid definition of >the snd_pcm_hw_params_t Im wondering what else I have to include for my >program to compile. its an opaque type. you can only de

[Alsa-devel] snd_pcm_hw_params_t definition

2002-03-20 Thread Mathieu Dube
Hi, Im trying to compile a program that uses alsa lib 0.9 and since by just including alsa/asoundlib.h it doesnt give the compiler a valid definition of the snd_pcm_hw_params_t Im wondering what else I have to include for my program to compile. Thanks -Mat -- Mathieu Dube -- [EMAIL PR

Re: [Alsa-devel] Re: Playback stutters - Correction

2002-03-20 Thread Paul Davis
>CORRECTION: >Just retested with full hdparm (added -u setting) settings on >2.4.19-pre3-ac+preempt, and no skipping with above activities. This >seems pretty good. > >I could generate skips when switching from X to text console. Could not >generate skip when cycling virtual desktops within X (at

Re: [Alsa-devel] using external MIDI device to control the computer

2002-03-20 Thread Paul Davis
>etc. I imagine I would have to have a kernel module which would >implement filtering of certain events and passing them to some place, >like a pipe that my control program (perhaps perl) would read and >perform corresponding actions that I would program it to do. not to appear too snobbish, but

[Alsa-devel] using external MIDI device to control the computer

2002-03-20 Thread fn ln
Hi, I would like to use a digital piano keyboard attached to the serial port (MIDI-to-host 38400 bps MIDI connection) to generate some events on the computer. E.g. if I press the two lowest notes at the same time, I can move the mouse cursor or switch desktops, etc. I imagine I would have

[Alsa-devel] asoundrc-howto

2002-03-20 Thread joy ping
hi, cause i didnt found any sufficent documentation again i started to wrote a kind of asoundrc-minihowto. my plan is to put it on the alsa-wiki-page, but i dont know where the (un)offical alsa-wiki-page is, its not linked on alsa-project.org. otherwise i will put it 'statically' somwhere on the