[vorbis-dev] ogg123 sampling rate problems

Aaron Plattner AaronP at Crosswinds.net
Tue Jan 23 20:15:14 PST 2001


I just used ogg123 to play back a file encoded from a 22.5 KHz WAV, and it
played twice too fast.  Looking at the source, it seems that the sampling rate
and number of channels are hard-coded into it.  What´s the best way of fixing
this?  I quickly hacked together something that closes and reopens the devices
before each file (diff attached).  Is there a better solution?

Aaron Plattner


<HR NOSHADE>
<UL>
<LI>text/plain attachment: ogg123.c.diff
</UL>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ogg123.c.diff
Type: application/octet-stream
Size: 1185 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/vorbis-dev/attachments/20010123/014c545d/ogg123.c.obj


More information about the Vorbis-dev mailing list