NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: NetBSD alsa and its oss plugin
On Sun, 21 Nov 2021 14:37:17 +0100, Hauke Fath wrote:
> Has anybody successfully used the pipeline alsa-libs ->
> alsa-plugins-oss on NetBSD?
As a data point, an attempt to record 10 seconds through alsa will hang
indefinitely, and leave an empty file stub:
% arecord -v -N -f cd -t wav recording.wav
Recording WAVE 'recording.wav' : Signed 16 bit Little Endian, Rate
44100 Hz, Stereo
ALSA <-> OSS PCM I/O Plugin
Its setup is:
stream : CAPTURE
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 44100
exact rate : 44100 (44100/1)
msbits : 16
buffer_size : 16384
period_size : 4096
period_time : 92879
tstamp_mode : NONE
tstamp_type : GETTIMEOFDAY
period_step : 1
avail_min : 4096
period_event : 0
start_threshold : 1
stop_threshold : 16384
silence_threshold: 0
silence_size : 0
boundary : 4611686018427387904
^CAborted by signal Interrupt...
% ls -l recording.wav
-rw-r--r-- 1 hauke wheel 16428 Nov 22 11:58 recording.wav
% file recording.wav
recording.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16
bit, stereo 44100 Hz
%
So, while playing audio that way works, it looks like recording through
the alsa oss plugin is plain broken.
Cheerio,
Hauke
--
Hauke Fath <hauke%Espresso.Rhein-Neckar.DE@localhost>
Linnéweg 7
64342 Seeheim-Jugenheim
Germany
Home |
Main Index |
Thread Index |
Old Index