# wavparse

Parse a .wav file into raw or compressed audio.

Wavparse supports both push and pull mode operations, making it possible to stream from a network source.

## Example launch line

     gst-launch-1.0 filesrc location=sine.wav ! wavparse ! audioconvert ! alsasink

Read a wav file and output to the soundcard using the ALSA element. The wav file is assumed to contain raw uncompressed samples.

     gst-launch-1.0 gnomevfssrc location=http://www.example.org/sine.wav ! queue ! wavparse ! audioconvert ! alsasink

Stream data from a network url.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──wavparse

## Factory details

Authors: – Erik Walthinsen

Classification: – `Codec/Demuxer/Audio`

Rank – primary

Plugin – wavparse

Package – GStreamer Good Plug-ins

## Pad Templates

### `sink`

    audio/x-wav:
    audio/x-rf64:

Presence – always

Direction – sink

Object type – GstPad

### `src`

    audio/ms-gsm:
    audio/mpeg:
        mpegversion: 1
              layer: 3
    audio/mpeg:
        mpegversion: 1
              layer: 2
    audio/x-raw:
             format: { S8, U8, S16LE, U16LE, S24LE, U24LE, S32LE, U32LE }
             layout: interleaved
    audio/x-vorbis:
    audio/x-ac3:
    audio/x-dts:
    audio/mpeg:
        mpegversion: 4
    audio/x-alaw:
    audio/x-mulaw:
    audio/x-wms:
            bitrate: [ 0, 2147483647 ]
        block_align: [ 1, 2147483647 ]
    audio/x-adpcm:
             layout: microsoft
        block_align: [ 1, 2147483647 ]
    audio/x-adpcm:
             layout: dvi
        block_align: [ 1, 2147483647 ]
    audio/x-truespeech:
    audio/x-wma:
         wmaversion: 1
            bitrate: [ 0, 2147483647 ]
        block_align: [ 1, 2147483647 ]
    audio/x-wma:
         wmaversion: 2
            bitrate: [ 0, 2147483647 ]
        block_align: [ 1, 2147483647 ]
    audio/x-wma:
         wmaversion: 3
            bitrate: [ 0, 2147483647 ]
        block_align: [ 1, 2147483647 ]
    audio/x-vnd.sony.atrac3:
    audio/x-raw:
             format: { F32LE, F64LE }
             layout: interleaved
    audio/x-voxware:
        voxwaretype: 117
    audio/x-adpcm:
             layout: dk4
    audio/x-adpcm:
             layout: dk3
    audio/x-adpcm:
             layout: dvi
    audio/AMR:
    audio/AMR-WB:
    audio/x-siren:
    application/x-ogg-avi:

Presence – always

Direction – src

Object type – GstPad

## Properties

### ignore-length

    “ignore-length” gboolean

This selects whether the length found in a data chunk should be ignored. This may be useful for streamed audio where the length is unknown until the end of streaming, and various software/hardware just puts some random value in there and hopes it doesn't break too much.

Flags : Read / Write

Default value : false

The results of the search are