Documentation:Modules/oss: Difference between revisions

From VideoLAN Wiki
Jump to navigation Jump to search
Create page marked up/adapted from source code/changelog. I included two sub-modules in different sections
 
m Move shortcut(s) to template
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
oss and alsa audio capture support were removed from {{docmod|v4l}} and {{docmod|v4l2}} in VLC 1.0.0, but accesses were provided as sub-modules. To emulate old behaviour, use <code>--input-slave oss://</code> or <code>--input-slave alsa://</code>. The access module reads from <code>/dev/dsp</code>.
oss and {{docmod|alsa}} audio capture support were removed from {{docmod|v4l}} and {{docmod|v4l2}} in VLC 1.0.0, but accesses were provided as sub-modules. To emulate old behaviour, use <code>--input-slave oss://</code> or <code>--input-slave alsa://</code>. The access module reads from <code>/dev/dsp</code>.
 
The audio output module has no shortcut. The access module has a shortcut of <code>oss</code>.


== 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|sc=none}}
{{Option
{{Option
|name=oss-audio-device
|name=oss-audio-device
Line 21: Line 19:


=== 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|sc=oss}}
{{Option
{{Option
|name=oss-stereo
|name=oss-stereo

Latest revision as of 05:45, 16 May 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.

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.