| Index: media/base/audio_buffer.h
|
| diff --git a/media/base/audio_buffer.h b/media/base/audio_buffer.h
|
| index a07985c9fd8ca9fb4f3545f429ee851c5cdad363..3dacd38a9592986e6d7270b68c539dbfd746df35 100644
|
| --- a/media/base/audio_buffer.h
|
| +++ b/media/base/audio_buffer.h
|
| @@ -73,6 +73,12 @@ class MEDIA_EXPORT AudioBuffer
|
| int dest_frame_offset,
|
| AudioBus* dest);
|
|
|
| + // Copy |frames_to_copy| frames into |dest|, |frames_to_copy| is the size of
|
| + // buffer pointed to by |dest| NOT the per channel number of frames. The
|
| + // frames are converted from their source format into interleaved int32.
|
| + // Note: |frames_to_copy| must be a multiple of channel_count.
|
| + void ReadFramesInterleavedS32(int frames_to_copy, int32* dest);
|
| +
|
| // Trim an AudioBuffer by removing |frames_to_trim| frames from the start.
|
| // Timestamp and duration are adjusted to reflect the fewer frames.
|
| // Note that repeated calls to TrimStart() may result in timestamp() and
|
|
|