[vorbis-dev] Question re: vorbis_block_clear()

Monty xiphmont at xiph.org
Tue Jan 9 14:49:55 PST 2001



> Does this fact effectively mean that you can't have multiple vorbis_block
> instances outstanding?  i.e., can you only reliably vorbis_block_clear()
> the *last* vorbis_block that went through vorbis_analysis()?

If that's the way it is, it's a bug and I'll fix it.  Your basic
strategy is right, haven't seen the code to see if there are any
mistakes.

> Monty: will the thread-safety stuff that you're working on fix this?
> i.e., will vorbis_blocks no longer reference/depend on the
> vorbis_dsp_state?  How far off is that stuff?

It still has to reference the vorbis_dsp_state to get to configuration
information, but that's a read-only reference. 

vorbis_block_clear affects only the vorbis_block.  It doesn't touch
the vorbis_dsp_state.

Monty

--- >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