NetBSD-Users archive

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

Re: recording audio



bouyer%antioche.eu.org@localhost (Manuel Bouyer) writes:

>> audiorecord -p mic /tmp/truc.au
>> but it returns "audiorecord: failed to set audio info: Invalid argument".

Don't specify a port.

Your codec probably doesn't specify ports, like this:

# audioctl record.avail_ports record.port
record.avail_ports=0x0
record.port=0x0

Then audiorecord fails if you ask for a port. Only "default" (== zero
bitmask) works.

The hardware may still have multiple inputs to the mixer device that
are combined into the single input "port" of the codec. The mixer allows
to select an input source or to set input gains or to mute individual inputs.

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index