Documentation:Modules/oss: Difference between revisions

From VideoLAN Wiki
Jump to navigation Jump to search
m Change links from Wikipedia to OSS
Line 5: Line 5:
== Options ==
== Options ==
=== Audio output ===
=== Audio output ===
{{Module|name=oss|type=Audio output|os=Linux|description=[[wikipedia:Open Sound System|Open Sound System]] audio output}}
{{Module|name=oss|type=Audio output|os=Linux|description=[[OSS|Open Sound System]] audio output}}
{{Option
{{Option
|name=oss-audio-device
|name=oss-audio-device
Line 21: Line 21:


=== Access ===
=== Access ===
{{Module|name=oss|type=Access|first_version=1.0.0|os=Linux|description=[[wikipedia:Open Sound System|OSS]] input}}
{{Module|name=oss|type=Access|first_version=1.0.0|os=Linux|description=[[OSS]] input}}
{{Option
{{Option
|name=oss-stereo
|name=oss-stereo

Revision as of 07:56, 21 March 2019

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.

The audio output module has no shortcut. The access module has a shortcut of oss.

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) -
  • 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-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.