| 225 | //----------------------------------------------------------------------------- |
| 226 | |
| 227 | TheoraTexture::AsyncState::AsyncState( const ThreadSafeRef< OggInputStream >& oggStream, bool looping ) |
| 228 | : mOggStream( oggStream ), |
| 229 | mTheoraDecoder( dynamic_cast< OggTheoraDecoder* >( oggStream->getDecoder( "Theora" ) ) ), |
| 230 | mCurrentTime( 0 ), |
| 231 | mVorbisDecoder( dynamic_cast< OggVorbisDecoder* >( oggStream->getDecoder( "Vorbis" ) ) ) |
| 232 | { |
| 233 | if( mTheoraDecoder ) |
| 234 | { |
| 235 | mTheoraDecoder->setTimeSource( this ); |
| 236 | mFrameStream = new FrameStream( this, looping ); |
| 237 | } |
| 238 | } |
| 239 | |
| 240 | //----------------------------------------------------------------------------- |
| 241 |
nothing calls this directly
no test coverage detected