Documentation:Modules/oss

From VideoLAN Wiki
Revision as of 05:45, 16 May 2019 by DoesItReallyMatter (talk | contribs) (Move shortcut(s) to template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

oss and alsa audio capture support were removed from v4l and v4l2 in VLC 1.0.0, but accesses were provided as sub-modules. To emulate old behaviour, use --input-slave oss:// or --input-slave alsa://. The access module reads from /dev/dsp.

Options

Audio output

Module: oss
Type Audio output
First VLC version -
Last VLC version -
Operating system(s) Linux
Description Open Sound System audio output
Shortcut(s) (none)
  • oss-audio-device <string> : OSS device node path default value: ""
  • oss-spdif <boolean> : S/PDIF can be used by default when your hardware supports it as well as the audio stream being played default value: disabled

Access

Module: oss
Type Access
First VLC version 1.0.0
Last VLC version -
Operating system(s) Linux
Description OSS input
Shortcut(s) oss
  • oss-stereo <boolean> : Capture the audio stream in stereo default value: enabled
  • oss-samplerate <integer> : Sample rate of the captured audio stream, in Hz (eg: 11025, 22050, 44100, 48000) default value: 48000

Source code

This page is part of official VLC media player Documentation (User Guide • Streaming HowTo • Hacker Guide • Modules)
Please read the Documentation Editing Guidelines before you edit the documentation
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.