[vorbis-dev] libao: Raw audio device

volsung at asu.edu volsung at asu.edu
Sat Jan 20 14:23:56 PST 2001


I've completed the new device for libao that just writes raw, headerless,
unformatted audio data to the file of your choice.  The driver also supports
writing to stdout by specifying the output file to be "-".  This is the better
way to stream uncompressed audio for now, thereby avoiding the headaches
contained in wav files.

To add the driver:

1) Copy ao_raw.c into ao/src/
2) Apply ao_raw.patch to the ao/ tree.  (Note that this patch also updates the
documentation and fixes an error where the esd driver was explained twice in
ao/doc/DRIVERS.
3) Apply vorbis-tools_raw.patch to the vorbis-tools/ tree.  This just changes
documentation and the help function for ogg123 to explain the new driver.
4) Rerun autogen.sh in ao/ and recompile.
5) Test with commands like:

ogg123 test.ogg -d raw -o file:test.raw
ogg123 test.ogg -d raw -o file:- | esdcat    # Assuming you have esd


---
Stan Seibert



<HR NOSHADE>
<UL>
<LI>TEXT/PLAIN attachment: ao_raw.c
</UL>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ao_raw.c
Type: application/octet-stream
Size: 3049 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/vorbis-dev/attachments/20010120/f45dea55/ao_raw-0002.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ao_raw.patch
Type: application/octet-stream
Size: 5207 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/vorbis-dev/attachments/20010120/f45dea55/ao_raw-0003.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vorbis-tools_raw.patch
Type: application/octet-stream
Size: 1604 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/vorbis-dev/attachments/20010120/f45dea55/vorbis-tools_raw-0001.obj


More information about the Vorbis-dev mailing list