Index: media/audio/audio_parameters.h |
diff --git a/media/audio/audio_parameters.h b/media/audio/audio_parameters.h |
index 244d8b9f0fb0cc3b7427ff939847d2b42a78ebb6..84022bfe82db5133c36cef8b1f46db48701103c3 100644 |
--- a/media/audio/audio_parameters.h |
+++ b/media/audio/audio_parameters.h |
@@ -9,6 +9,16 @@ |
#include "media/base/channel_layout.h" |
#include "media/base/media_export.h" |
+#pragma pack(push, 1) |
tommi (sloooow) - chröme
2012/03/16 13:31:05
Can you add a note why we set the packing to 1?
A
henrika (OOO until Aug 14)
2012/03/21 10:16:04
Done.
|
+struct MEDIA_EXPORT AudioInputBuffer { |
+ double volume; |
+ uint32 size; |
+ int8 audio[1]; |
+ |
+ static const int kSizeOfStructMinusArr; |
+}; |
+#pragma pack(pop) |
+ |
// TODO(vrk): This should probably be changed to an immutable object instead of |
// a struct. See crbug.com/115902. |
struct MEDIA_EXPORT AudioParameters { |