gstreamer/ext/audiofile
David Schleef c3d4977761 Split out GST_PLUGINS_BAD_CFLAGS from GST_CFLAGS
Move include directives for gst-libs into GST_PLUGINS_BAD_CFLAGS,
and fix all the Makefiles that use it.  This is so that all the
include directories are added in the proper order: first the
directories in srcdir/builddir, then gst-plugins-base dirs, then
gstreamer dirs.  If the order is wrong, installed headers may be
used instead of local headers and/or uninstalled headers from -base.
2010-05-19 18:24:02 -07:00
..
gstaf.c rework build; add translations for v4l2 2006-04-01 10:09:11 +00:00
gstafparse.c gst_element_class_set_details => gst_element_class_set_details_simple 2010-03-18 22:46:41 +01:00
gstafparse.h gst_element_class_set_details => gst_element_class_set_details_simple 2010-03-18 22:46:41 +01:00
gstafsink.c gst_element_class_set_details => gst_element_class_set_details_simple 2010-03-18 22:46:41 +01:00
gstafsink.h gst_element_class_set_details => gst_element_class_set_details_simple 2010-03-18 22:46:41 +01:00
gstafsrc.c gst_element_class_set_details => gst_element_class_set_details_simple 2010-03-18 22:46:41 +01:00
gstafsrc.h gst_element_class_set_details => gst_element_class_set_details_simple 2010-03-18 22:46:41 +01:00
Makefile.am Split out GST_PLUGINS_BAD_CFLAGS from GST_CFLAGS 2010-05-19 18:24:02 -07: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