Commit graph

205 commits

Author SHA1 Message Date
Benjamin Otte
333099fdeb change *_is_readonly to *_is_writeable. Hope the name stays now...
Original commit message from CVS:
change *_is_readonly to *_is_writeable. Hope the name stays now...
2003-04-15 21:35:08 +00:00
Benjamin Otte
f38ca0a7f4 - revert change to use a newly added gst_buffer_is_readonly (which wasn't newly added before)
Original commit message from CVS:
- revert change to use a newly added gst_buffer_is_readonly (which wasn't newly added before)
- walk buffer backwards when it might be possible that data is read out of overwritten parts when going forwards
2003-04-15 19:10:14 +00:00
Colin Walters
804522784e Change agressive -> aggressive.
Original commit message from CVS:
Change agressive -> aggressive.
2003-04-15 03:39:22 +00:00
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