head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2026.08.12.03.43.35; author ryoon; state Exp; branches; next ; commitid 2m59YBR1kiEvBiRG; desc @@ 1.1 log @multimedia/ffmpeg9: import ffmpeg9-9.0 FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video. It includes libavcodec - the leading audio/video codec library. This package contains major version 9. @ text @$NetBSD: patch-doc_indevs.texi,v 1.1 2025/08/22 16:42:06 wiz Exp $ * Add sunau documentation. --- doc/indevs.texi.orig 2019-12-31 21:35:22.000000000 +0000 +++ doc/indevs.texi @@@@ -1282,6 +1282,35 @@@@ Set the number of channels. Default is 2 @@end table +@@section sunau + +Solaris/NetBSD audio input device. + +The filename to provide to the input device is the device node +representing the Sun input device, and is usually set to +@@file{/dev/audio0}. + +For example to grab from @@file{/dev/audio0} using @@command{ffmpeg} use the +command: +@@example +ffmpeg -f sunau -i /dev/audio0 /tmp/oss.wav +@@end example + +@@subsection Options + +@@table @@option + +@@item buffer_samples +Set the size of the audio buffer in samples. Default is 32. + +@@item sample_rate +Set the sample rate in Hz. Default is 48000. + +@@item channels +Set the number of channels. Default is 2. + +@@end table + @@section video4linux2, v4l2 Video4Linux2 input video device. @