[vorbis-dev] Mac Ogg Vorbis Player

David Riley oscar at the-rileys.net
Tue Oct 10 19:03:11 PDT 2000



Well, I updated the player to work with the branch_postbeta2, but it
contains some nasty kludges to the project files that probably shouldn't
be finalized.  I'm going to put it in a separate file
(http://oscar.the-rileys.net/programming/vorbis_pb2.tar.gz) for now. 
Unfortunately, this release doesn't seem to fix the "tearing sound"
problem.  I think this might be related to problems using low-level Ogg
Vorbis code as opposed to VorbisFile, but we don't have VorbisFile on
Mac yet (I can't see it working very well with Mac HFS functions until
Codewarrior gets fdopen() support).  The reason I think this is that on
linux, the targets that use VorbisFile (ogg123, xmms plugin) do not clip
(at least not with the tearing sound associated with the Mac player),
while the decoder_example (which uses lower-level functions) reports
clipping (though I have yet to test the sound output).  It would be nice
if we could get VorbisFile working well on the mac, but it requires the
use of fopen() streams, and fopen() does not work well with standard Mac
file selection (I can get a fd, but there's no fdopen() support in
Codewarrior for the mac, though there is on the BeOS side(!)).

Anyway, I'd love help from anyone who has tried the sound output from
the decoder_example on, say, Linux (or even mac... anyone know a PCM
player?) and can report whether there is nasty ripping sounds when it
clips.  The odd side effect to the clipping (which would otherwise be a
minor annyance) is that it seems to take up extra samples (the sound
playback slows when there is lots of it).  Can anyone venture a guess as
to why this is?

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list