openalsrc: GStreamer Bad Plugins 1.0 Plugins Reference Manual

## openalsrc openalsrc — Input audio through OpenAL |

## Properties

gchar * | device | Read / Write
gchar * | device-name | Read

## Types and Values

struct | GstOpenalSrc

## Description

## Synopsis

### Element Information

plugin | openal
author | Juan Manuel Borges Caño <juanmabcmail@gmail.com>
class | Source/Audio

### Element Pads

name | src
direction | source
presence | always
details | audio/x-raw, format=(string)S16LE, rate=(int)[ 1, 2147483647 ], channels=(int)1
| audio/x-raw, format=(string)U8, rate=(int)[ 1, 2147483647 ], channels=(int)1

## Functions

## Types and Values

### struct GstOpenalSrc

    struct GstOpenalSrc {
      GstAudioSrc element;
      GstPad *srcpad;
      gboolean silent;

      /* readable name of device */
      gchar *default_device_name;
      /* name of device to open, default is a NULL pointer to get default device */
      gchar *default_device;
      /* OpenAL device handle */
      ALCdevice *device;

      guint64 buffer_length;

      ALenum format;
      ALuint rate;
      ALuint bytes_per_sample;

      GstCaps *probed_caps;
    };

## Property Details

### The `“device”` property

      “device”                   gchar *

User device, default device if NULL.

Flags: Read / Write

Default value: NULL

### The `“device-name”` property

      “device-name”              gchar *

Human-readable name of the device.

Flags: Read

Default value: NULL