Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1021)

Unified Diff: services/media/framework/lpcm_util.h

Issue 1678433002: Motown: Remove LPCM optimizations, fix prepare, add flush, add ActiveMultistreamSink model/stage (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Sync Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/media/framework/graph.cc ('k') | services/media/framework/lpcm_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/media/framework/lpcm_util.h
diff --git a/services/media/framework/lpcm_util.h b/services/media/framework/lpcm_util.h
index 6758472d248929dda141d5f10cb064d2b587fe09..888cfc8cbb8fbaa8a0c51a5dfa43246e95862a99 100644
--- a/services/media/framework/lpcm_util.h
+++ b/services/media/framework/lpcm_util.h
@@ -20,13 +20,13 @@ class LpcmUtil {
virtual ~LpcmUtil() {}
// Fills the buffer with silence.
- virtual void Silence(void* buffer, uint64_t frame_count) const = 0;
+ virtual void Silence(void* buffer, size_t frame_count) const = 0;
// Copies samples.
- virtual void Copy(const void* in, void* out, uint64_t frame_count) const = 0;
+ virtual void Copy(const void* in, void* out, size_t frame_count) const = 0;
// Mixes samples.
- virtual void Mix(const void* in, void* out, uint64_t frame_count) const = 0;
+ virtual void Mix(const void* in, void* out, size_t frame_count) const = 0;
// Interleaves non-interleaved samples. This assumes ffmpeg non-interleaved
// ("planar") layout, in which the buffer (in) is divided evenly into a
@@ -35,9 +35,9 @@ class LpcmUtil {
// (hence the in_type_count and the frame_count).
virtual void Interleave(
const void* in,
- uint64_t in_byte_count,
+ size_t in_byte_count,
void* out,
- uint64_t frame_count) const = 0;
+ size_t frame_count) const = 0;
};
} // namespace media
« no previous file with comments | « services/media/framework/graph.cc ('k') | services/media/framework/lpcm_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698