aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/video/video_player.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/graphics/video/video_player.h b/graphics/video/video_player.h
index 3073538cab..2fe90210cd 100644
--- a/graphics/video/video_player.h
+++ b/graphics/video/video_player.h
@@ -141,6 +141,12 @@ public:
*/
virtual bool decodeNextFrame() = 0;
+ /**
+ * Used to read the sound header from DXA files. It's not pretty,
+ * but it's slightly better than exposing _fileStream
+ */
+ uint32 readSoundHeader() { return _fileStream->readUint32BE(); }
+
protected:
struct {
uint32 width;