diff options
author | Glenn Kasten <gkasten@google.com> | 2014-01-31 09:37:35 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2014-01-31 10:53:38 -0800 |
commit | 72e54af9fcdc4754914fe2bf8de699523538b315 (patch) | |
tree | 7fe0f7ca51dbaff80125ea7b12a7a0cc052315e0 /media/libnbaio/Pipe.cpp | |
parent | e983e0a0017fce81dc3d9bea36f5abb7b7bce40b (diff) | |
download | frameworks_av-72e54af9fcdc4754914fe2bf8de699523538b315.zip frameworks_av-72e54af9fcdc4754914fe2bf8de699523538b315.tar.gz frameworks_av-72e54af9fcdc4754914fe2bf8de699523538b315.tar.bz2 |
Use const NBAIO_Format& in parameter lists
This is in preparation for changing the typedef to a struct.
Change-Id: I8d73a6b29580c65105afd78f24db7e2f4a1eb872
Diffstat (limited to 'media/libnbaio/Pipe.cpp')
-rw-r--r-- | media/libnbaio/Pipe.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libnbaio/Pipe.cpp b/media/libnbaio/Pipe.cpp index 1c21f9c..115f311 100644 --- a/media/libnbaio/Pipe.cpp +++ b/media/libnbaio/Pipe.cpp @@ -25,7 +25,7 @@ namespace android { -Pipe::Pipe(size_t maxFrames, NBAIO_Format format) : +Pipe::Pipe(size_t maxFrames, const NBAIO_Format& format) : NBAIO_Sink(format), mMaxFrames(roundup(maxFrames)), mBuffer(malloc(mMaxFrames * Format_frameSize(format))), |