On Sat, Feb 18, 2012 at 10:57 PM, Tomas Bodzar <tomas.bod...@gmail.com>
wrote:
> On Sun, Feb 19, 2012 at 7:36 AM, patrick keshishian <pkesh...@gmail.com>
wrote:
>> I should have been more specific with my question and subject line: I
>> don't see where aucat's "-f device" values are documented.
>>
>> Googling finds old (google-cached) current.html pages, circa 2009,
>> suggesting using 'aucat -f sun:1' for /dev/audio1. However, this at
>> first failed:
>
> No. I mean post output of mixerctl -v and audioctl -v ;-) Don't use
> Google for something what is much more better documented inside system
> itself
http://www.openbsd.org/cgi-bin/man.cgi?query=aucat&apropos=0&sektion=0&manpat
h=OpenBSD+5.0&arch=i386&format=html

are _you_ /certain/ of what you speak?

--patrick


>>
>> $ aucat -f sun:1 -m rec -o /tmp/test.wav
>> sio(sun:1|): busy loop, disconnecting
>>
>> A bit more googling finds this post[1] suggesting addition of "-z 256"
>> to aucat, which seems to make things work.
>>
>> $ aucat -z 256 -f sun:1 -o /tmp/test.wav
>> ^C
>>
>> --patrick
>>
>> [1] http://old.nabble.com/aucat-bug-in-4.8-beta-i386---td29333138.html
>>
>> On Sat, Feb 18, 2012 at 4:59 PM, patrick keshishian <pkesh...@gmail.com>
>> wrote:
>>> Can someone point me to some docs explaining how I can record off of a
>>> uaudio device I plugged in?
>>>
>>> [after plugging in uaudio device]
>>> uaudio0 at uhub0 port 3 configuration 1 interface 0 "E-MU Systems,
>>> Inc. E-MU 0202 | USB" rev 2.00/1.00 addr 3
>>> uaudio0: audio rev 1.00, 3 mixer controls
>>> audio1 at uaudio0
>>>
>>> now what?
>>>
>>> $ audioctl -f /dev/audioctl1
>>> name=USB audio
>>> version=
>>> config=uaudio
>>> encodings=slinear_le:24:3:1
>>> properties=full_duplex
>>> full_duplex=0
>>> fullduplex=0
>>> blocksize=13216
>>> hiwat=4
>>> lowat=1
>>> output_muted=0
>>> monitor_gain=0
>>> mode=
>>> play.rate=44100
>>> play.sample_rate=44100
>>> play.channels=2
>>> play.precision=24
>>> play.bps=3
>>> play.msb=1
>>> play.encoding=slinear_le
>>> play.gain=255
>>> play.balance=32
>>> play.port=0x0
>>> play.avail_ports=0x0
>>> play.seek=0
>>> play.samples=0
>>> play.eof=0
>>> play.pause=0
>>> play.error=0
>>> play.waiting=0
>>> play.open=0
>>> play.active=0
>>> play.buffer_size=65536
>>> play.block_size=13216
>>> play.errors=0
>>> record.rate=44100
>>> record.sample_rate=44100
>>> record.channels=2
>>> record.precision=24
>>> record.bps=3
>>> record.msb=1
>>> record.encoding=slinear_le
>>> record.gain=127
>>> record.balance=32
>>> record.port=0x0
>>> record.avail_ports=0x0
>>> record.seek=0
>>> record.samples=0
>>> record.eof=0
>>> record.pause=1
>>> record.error=0
>>> record.waiting=0
>>> record.open=0
>>> record.active=0
>>> record.buffer_size=65536
>>> record.block_size=17632
>>> record.errors=0
>>>
>>> $ mixerctl -v -f /dev/mixer1
>>> inputs.dac.mute=off  [ off on ]
>>> inputs.dac=255,255 volume
>>> outputs.ext12-enable=off  [ off on ]
>>>
>>> $ sysctl kern.version
>>> kern.version=OpenBSD 5.0-current (GENERIC) #121: Mon Nov 28 16:00:51 MST
>> 2011
>>>    dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC

Reply via email to