[vorbis-dev] Streaming buffers/ov_read question
lbp1 at cs.waikato.ac.nz
Sat Jul 7 18:42:34 PDT 2001
> Ok, I went through the code. Problem A was actually a stupid
> calculation error on my part and a misinterpretation of how Lock works.
> I have verified that the ov_read does get called (and it does). Problem
> B, I think I have fixed. However, using my new code - I still get
> garbage noise. Nothing that is played sounds remotely like my test ogg
> file. I am stumped on this one. This is new code I have:
> The variable begPlay is initially set to true, while bStop is initially
Umm, should you be locking the entire buffer every time ?
Have a look at the STREAMS sample app in MSDN. It shows how to stream a wave
file with direct sound, and is relatively simple to get working with vorbis
--- >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