# openalsrc

This element captures raw audio samples through OpenAL.

## Example pipelines

     gst-launch-1.0 -v openalsrc ! audioconvert ! wavenc ! filesink location=stream.wav

- will capture sound through OpenAL and encode it to a wav file.

     gst-launch-1.0 openalsrc ! "audio/x-raw,format=S16LE,rate=44100" ! audioconvert ! volume volume=0.25 ! openalsink

will capture and play audio through OpenAL.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBaseSrc
                        ╰──GstPushSrc
                            ╰──GstAudioBaseSrc
                                ╰──GstAudioSrc
                                    ╰──openalsrc

## Factory details

Authors: – Juan Manuel Borges Caño

Classification: – `Source/Audio`

Rank – secondary

Plugin – openal

Package – GStreamer Bad Plug-ins

## Pad Templates

### `src`

    audio/x-raw:
             format: S16LE
               rate: [ 1, 2147483647 ]
           channels: 1
    audio/x-raw:
             format: U8
               rate: [ 1, 2147483647 ]
           channels: 1

Presence – always

Direction – src

Object type – GstPad

## Properties

### device

    “device” gchararray

User device, default device if NULL

Flags : Read / Write

Default value : NULL

### device-name

    “device-name” gchararray

Human-readable name of the device

Flags : Read

Default value : NULL

The results of the search are