haiku/headers/os/media
Stephan Aßmus 3a57be2aea * Indentation and naming cleanup in the header
* 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
2010-01-07 00:55:55 +00:00
..
Buffer.h Sorry for this large commit in advance; it's not really possible to divide this 2009-12-05 11:11:28 +00:00
BufferConsumer.h Sorry for this large commit in advance; it's not really possible to divide this 2009-12-05 11:11:28 +00:00
BufferGroup.h Sorry for this large commit in advance; it's not really possible to divide this 2009-12-05 11:11:28 +00:00
BufferProducer.h Rewrote headers. 2009-08-27 13:49:18 +00:00
Controllable.h Rewrote headers. 2009-08-27 13:49:18 +00:00
FileInterface.h Rewrote headers. 2009-08-27 13:49:18 +00:00
MediaAddOn.h Rewrote headers. 2009-08-27 13:49:18 +00:00
MediaDecoder.h Moved creating and destroying of Reader and Decoder plugins into the PluginManager class. 2007-06-02 20:00:48 +00:00
MediaDefs.h * Rewrote MediaDefs.h and MediaEncoder.h 2009-08-28 12:42:36 +00:00
MediaEncoder.h * Rewrote last of the MediaKit headers. 2009-08-28 15:06:12 +00:00
MediaEventLooper.h Rewrote header. 2009-08-28 12:58:59 +00:00
MediaFile.h Rewrote more headers, style updates in some 2009-08-28 14:39:55 +00:00
MediaFiles.h Beware! The following commit will crash your system when open "Sounds"; I'll 2009-12-08 14:22:56 +00:00
MediaFormats.h * This header couldn't actually be used from C code, since C doesn't support 2009-07-30 22:10:11 +00:00
MediaNode.h * Rewrote header, adjusted source. 2009-08-28 14:01:15 +00:00
MediaRoster.h * Rewrote MediaRoster.h 2008-03-24 15:42:58 +00:00
MediaTheme.h * Rewrote BeBuild.h which had "a few" consequences (got rid of all those class 2007-10-15 20:13:55 +00:00
MediaTrack.h * Indentation and naming cleanup in the header 2010-01-07 00:55:55 +00:00
ParameterWeb.h * Fixed bug I introduced when deleting parameters (no more crashing). 2009-04-09 09:39:58 +00:00
PlaySound.h Rewrote more headers, style updates in some 2009-08-28 14:39:55 +00:00
RealtimeAlloc.h * Replaced rtm_* placeholders with a real implementation based on the boot 2009-12-01 17:21:46 +00:00
Sound.h Rewrote more headers, style updates in some 2009-08-28 14:39:55 +00:00
SoundFile.h Rewrote more headers, style updates in some 2009-08-28 14:39:55 +00:00
SoundPlayer.h * Moved _SoundPlayNode into the BPrivate namespace and dismissed the '_' prefix. 2009-12-03 22:16:54 +00:00
TimeCode.h Rewrote header, updated source. 2009-08-28 14:50:09 +00:00
TimedEventQueue.h * Rewrote last of the MediaKit headers. 2009-08-28 15:06:12 +00:00
TimeSource.h * Rewrote TimeSource.h. 2009-08-26 11:13:14 +00:00