AudioDecoder::AudioDecoder (shared_ptr<const Film> f)
: Decoder (f)
- , _next_audio_frame (0)
+ , _audio_position (0)
{
}
AudioDecoder::audio (shared_ptr<const AudioBuffers> data, AudioContent::Frame frame)
{
Audio (data, frame);
- _next_audio_frame = frame + data->frames ();
+ _audio_position = frame + data->frames ();
}