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
 
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>.
The audio output module has no shortcut. The access module has a shortcut of <code>oss</code>.

Revision as of 06:54, 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.