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

Side by Side Diff: chromecast/common/media/cma_messages.h

Issue 1094783002: Switch to double for time calculations using playback rate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Making changes at chromecast side to fix trybots Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // IPC messages for the Cast Media Acceleration (CMA) pipeline. 5 // IPC messages for the Cast Media Acceleration (CMA) pipeline.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "chromecast/common/media/cma_ipc_common.h" 8 #include "chromecast/common/media/cma_ipc_common.h"
9 #include "chromecast/common/media/cma_param_traits.h" 9 #include "chromecast/common/media/cma_param_traits.h"
10 #include "chromecast/common/media/cma_param_traits_macros.h" 10 #include "chromecast/common/media/cma_param_traits_macros.h"
(...skipping 23 matching lines...) Expand all
34 int /* cdm_id */) 34 int /* cdm_id */)
35 IPC_MESSAGE_CONTROL2(CmaHostMsg_StartPlayingFrom, 35 IPC_MESSAGE_CONTROL2(CmaHostMsg_StartPlayingFrom,
36 int /* Media pipeline ID */, 36 int /* Media pipeline ID */,
37 base::TimeDelta /* Timestamp */) 37 base::TimeDelta /* Timestamp */)
38 IPC_MESSAGE_CONTROL1(CmaHostMsg_Flush, 38 IPC_MESSAGE_CONTROL1(CmaHostMsg_Flush,
39 int /* Media pipeline ID */) 39 int /* Media pipeline ID */)
40 IPC_MESSAGE_CONTROL1(CmaHostMsg_Stop, 40 IPC_MESSAGE_CONTROL1(CmaHostMsg_Stop,
41 int /* Media pipeline ID */) 41 int /* Media pipeline ID */)
42 IPC_MESSAGE_CONTROL2(CmaHostMsg_SetPlaybackRate, 42 IPC_MESSAGE_CONTROL2(CmaHostMsg_SetPlaybackRate,
43 int /* Media pipeline ID */, 43 int /* Media pipeline ID */,
44 float /* Playback rate */) 44 double /* Playback rate */)
45 45
46 IPC_MESSAGE_CONTROL3(CmaHostMsg_CreateAvPipe, 46 IPC_MESSAGE_CONTROL3(CmaHostMsg_CreateAvPipe,
47 int /* Media pipeline ID */, 47 int /* Media pipeline ID */,
48 chromecast::media::TrackId /* Track ID */, 48 chromecast::media::TrackId /* Track ID */,
49 size_t /* Fifo size */) 49 size_t /* Fifo size */)
50 IPC_MESSAGE_CONTROL3(CmaHostMsg_AudioInitialize, 50 IPC_MESSAGE_CONTROL3(CmaHostMsg_AudioInitialize,
51 int /* Media pipeline ID */, 51 int /* Media pipeline ID */,
52 chromecast::media::TrackId /* Track ID */, 52 chromecast::media::TrackId /* Track ID */,
53 media::AudioDecoderConfig /* Audio config */) 53 media::AudioDecoderConfig /* Audio config */)
54 IPC_MESSAGE_CONTROL3(CmaHostMsg_VideoInitialize, 54 IPC_MESSAGE_CONTROL3(CmaHostMsg_VideoInitialize,
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 chromecast::media::TrackId /* Track ID */, 106 chromecast::media::TrackId /* Track ID */,
107 media::PipelineStatus /* status */) 107 media::PipelineStatus /* status */)
108 IPC_MESSAGE_CONTROL3(CmaMsg_PlaybackStatistics, 108 IPC_MESSAGE_CONTROL3(CmaMsg_PlaybackStatistics,
109 int /* Media pipeline ID */, 109 int /* Media pipeline ID */,
110 chromecast::media::TrackId /* Track ID */, 110 chromecast::media::TrackId /* Track ID */,
111 media::PipelineStatistics /* status */) 111 media::PipelineStatistics /* status */)
112 IPC_MESSAGE_CONTROL3(CmaMsg_NaturalSizeChanged, 112 IPC_MESSAGE_CONTROL3(CmaMsg_NaturalSizeChanged,
113 int /* Media pipeline ID */, 113 int /* Media pipeline ID */,
114 chromecast::media::TrackId /* Track ID */, 114 chromecast::media::TrackId /* Track ID */,
115 gfx::Size /* Size */) 115 gfx::Size /* Size */)
OLDNEW
« no previous file with comments | « chromecast/browser/media/media_pipeline_host.cc ('k') | chromecast/media/base/switching_media_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698