3a57be2aea
* Small coding style cleanups in the .cpp * When reading raw chunks, keep fCurrentFrame updated anyway * When decoding frames and chunks, don't change the meaning of fCurrentTime, it's supposed to be the start time of the next chunk/frame, same as CurrentFrame(), not the time of the frame/chunk we just decoded/read. BMediaTrack::CurrentFrame() is actually documented like this in the BeBook, but CurrentTime() is not. However, when seeking to a specific time, it is understood that this is the time of the next frame/chunk. If we decode/read it and set fCurrentTime to the start_time as specified in the media_header, it would actually not change for the first frame/chunk after seeking. To be able to know the duration of chunks, fWriterFormat had to be changed to just fFormat and is now used for decoding as well. * Simplified handling of media_header in some methods, saves one assignment. These changes are not so well tested, yet. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34923 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
||
---|---|---|
.. | ||
Buffer.h | ||
BufferConsumer.h | ||
BufferGroup.h | ||
BufferProducer.h | ||
Controllable.h | ||
FileInterface.h | ||
MediaAddOn.h | ||
MediaDecoder.h | ||
MediaDefs.h | ||
MediaEncoder.h | ||
MediaEventLooper.h | ||
MediaFile.h | ||
MediaFiles.h | ||
MediaFormats.h | ||
MediaNode.h | ||
MediaRoster.h | ||
MediaTheme.h | ||
MediaTrack.h | ||
ParameterWeb.h | ||
PlaySound.h | ||
RealtimeAlloc.h | ||
Sound.h | ||
SoundFile.h | ||
SoundPlayer.h | ||
TimeCode.h | ||
TimedEventQueue.h | ||
TimeSource.h |