Commit graph

2 commits

Author SHA1 Message Date
Colin Walters
8aa9339f50 Initialize various variables so gcc won't complain.
Original commit message from CVS:
Initialize various variables so gcc won't complain.

Use GST_BUFFER_FLAG_IS_SET instead of unknown function gst_buffer_is_readonly.
2003-04-15 03:19:08 +00:00
Benjamin Otte
d41620bc75 Added initial version of audioconvert, a generic converter of integer audio/raw formats.
Original commit message from CVS:
Added initial version of audioconvert, a generic converter of integer audio/raw formats.
It currently supports conversion of
- channels (mono/stereo only, until someone tells me how to mix other channels)
- endianness (little/bi endian)
- signedness
- width (8, 1, 24 and 32 bits)
- depth (1 - width bits)
missing:
- enough testing (I intend to write a testsuite for this, but that's pending)
- samplerate conversion
- other goodies like format conversion etc
Expect bugs when using it.

problems this should solve:
- encoding wav files on big endian machines
- goom working with mono audio files in gst-player
- Iain's soundcard (that one is a problem in itself)
- complaints about missing conversion
- too many age old, nearly unmaintained plugins (stereo2mono etc.)
Have fun.
2003-04-14 01:20:30 +00:00