gstreamer/ext/audiofile
Steve Baker 0f0b1f647d use correct mime type for the types supported by audiofile
Original commit message from CVS:
use correct mime type for the types supported by audiofile
2002-04-26 12:42:32 +00:00
..
gstafparse.c use correct mime type for the types supported by audiofile 2002-04-26 12:42:32 +00:00
gstafparse.h afparse will eventually be able to support pipelines like: gst-launch filesrc location=file.aiff ! afparse ! osssink 2002-04-21 12:04:54 +00:00
gstafsink.c a hack to work around intltool's brokenness a current check for mpeg2dec details->klass reorganizations an element br... 2002-04-20 21:42:51 +00:00
gstafsink.h // to /* */ fixes 2002-02-03 20:35:26 +00:00
gstafsrc.c a hack to work around intltool's brokenness a current check for mpeg2dec details->klass reorganizations an element br... 2002-04-20 21:42:51 +00:00
gstafsrc.h // to /* */ fixes 2002-02-03 20:35:26 +00:00
gstaftypes.c use correct mime type for the types supported by audiofile 2002-04-26 12:42:32 +00:00
Makefile.am removal of //-style comments don't link plugins to core libs -- the versioning is done internally to the plugins with... 2002-03-19 04:10:06 +00:00
README fixed some GST_LIBS stuff added audiofile added gst-libs/audio building 2001-12-21 11:46:15 +00:00

This plugin wraps the SGI Audiofile 
(http://oss.sgi.com/projects/audiofile/) library into a src and sink
element.

You can read from and write to the supported formats (WAVE, AIFF, AIFFC,
NEXTSND).

What is supported :
* all the file formats
* integer sample data, both 2's complement and unsigned
* 8 or 16 bit width & depth (haven't tested others)
* sample rate
* some sort of endianness control

What isn't supported yet :
* float data

What you can do :
* src element only accepts location argument
* sink element accepts location, endianness and type
	- location : file on the system to output
	- endianness : at this time endianness is still a bit shady
	  	you can either set 1234 or 4321;
		setting it to 4321 will byteswap the buffer data
		you might want to keep it at 1234 for now
	- type : one of the file types

Use gstreamer-inspect on afsink and afsrc to see all of the supported
options.

Examples :

* tools/gstreamer-launch afsrc location=/opt/media/wav/dark-480-16-m.wav ! afsink type=2 location=/opt/media/wav/dark-480-16-m.aiff

Future plans :

* add float support
* wrap up afsink and afsrc with pipe and fork to act like data convertors,
  allowing arbitrary choice of sink and src element