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

Unified Diff: services/media/audio/audio_track_impl.h

Issue 1902183002: Motown: Change media type (stream type) representation (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Changes per review feedback. Created 4 years, 8 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 | « mojo/services/media/common/interfaces/media_types.mojom ('k') | services/media/audio/audio_track_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/media/audio/audio_track_impl.h
diff --git a/services/media/audio/audio_track_impl.h b/services/media/audio/audio_track_impl.h
index 37715629a2abd83dd5204e9e3dc928944bb4a80c..f282849a9d3c846d7666c4d2173e7a16e7138ed8 100644
--- a/services/media/audio/audio_track_impl.h
+++ b/services/media/audio/audio_track_impl.h
@@ -50,7 +50,7 @@ class AudioTrackImpl : public AudioTrack {
}
uint32_t BytesPerFrame() const { return bytes_per_frame_; }
- const LpcmMediaTypeDetailsPtr& Format() const { return format_; }
+ const AudioMediaTypeDetailsPtr& Format() const { return format_; }
float DbGain() const { return db_gain_; }
private:
@@ -83,7 +83,7 @@ class AudioTrackImpl : public AudioTrack {
RateControlBase rate_control_;
LinearTransform::Ratio frame_to_media_ratio_;
uint32_t bytes_per_frame_ = 1;
- LpcmMediaTypeDetailsPtr format_;
+ AudioMediaTypeDetailsPtr format_;
AudioTrackToOutputLinkSet outputs_;
float db_gain_ = 0.0;
};
« no previous file with comments | « mojo/services/media/common/interfaces/media_types.mojom ('k') | services/media/audio/audio_track_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698