Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] Re: rec



hatsuhiro wrote:

> aumix -d /dev/dsp -mR -m100
> aumix -d /dev/audio -mR -m100
>         aumix: error opening mixer

I would not expect that to actually work. You should specify the mixer
device, not the dsp device...

> (In fact, I don't have such a file as /dev/sound/mixer.)

But do you have /dev/mixer0 and /dev/mixer1 ?

> rec sample.ul
>     sox: Can't open input file '/dev/dsp' : Invalid argument
> rec -d /dev/dsp sample.ul
>     sox: Can't open input file '/dev/dsp' : Invalid argument
> 
> rec -d /dev/audio sample.ul
>     sox: Can't open input file '/dev/audio' : Invalid argument
> 

That probably doesn't work because of sox default values.
rec -r 44100 -s -w -c 2 -t wav test.wav
should work.

> rec -d /dev/mixer sample.ul
>     sox: Unable to reset OSS driver. Possibly accessing an invalid
> file/device

You can't record from the mixer device :-)

Also, if you use alsa, make sure the oss compatiblity modules are loaded
or use alsa compatible programs...

-- 
Tobias								PGP: 0x9AC7E0BC
This mail is made of 100% recycled bits

Attachment: pgp00045.pgp
Description: PGP signature


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links