GStreamer Good Plugins 0.10 Plugins Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
GObject +----GstObject +----GstElement +----GstBaseSink +----GstBaseAudioSink +----GstAudioSink +----GstOssSink
This element lets you output sound using the Open Sound System (OSS).
Note that you should almost always use generic audio conversion elements like audioconvert and audioresample in front of an audiosink to make sure your pipeline works under all circumstances (those conversion elements will act in passthrough-mode if no conversion is necessary).
gst-launch -v audiotestsrc ! audioconvert ! volume volume=0.1 ! osssink
gst-launch -v filesrc location=music.ogg ! decodebin ! audioconvert ! audioresample ! osssink