osssrc

## osssrc osssrc — Capture from a sound card via OSS |

## Synopsis

    struct              GstOssSrc;

## Implemented Interfaces

GstOssSrc implements GstImplementsInterface and GstMixer.

## Properties

      "device"                   gchar*                : Read / Write
      "device-name"              gchar*                : Read

## Description

## Synopsis

### Element Information

plugin | ossaudio
author | Erik Walthinsen <omega@cse.ogi.edu>, Wim Taymans <wim@fluendo.com>
class | Source/Audio

### Element Pads

name | src
direction | source
presence | always
details | audio/x-raw-int, endianness=(int){ 1234 }, signed=(boolean){ true, false }, width=(int)16, depth=(int)16, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2 ]
| audio/x-raw-int, signed=(boolean){ true, false }, width=(int)8, depth=(int)8, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2 ]

## Details

### struct GstOssSrc

    struct GstOssSrc {
      GstAudioSrc    src;

      gint fd;
      gint           bytes_per_sample;

      gchar *device;
      gchar *device_name;

      GstCaps       *probed_caps;
    };

## Property Details

### The `"device"` property

      "device"                   gchar*                : Read / Write

OSS device (usually /dev/dspN).

Default value: "/dev/dsp"

### The `"device-name"` property

      "device-name"              gchar*                : Read

Human-readable name of the sound device.

Default value: ""