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

Side by Side Diff: chrome/common/render_messages_internal.h

Issue 661386: Add a parameter to CreateAudioStream to choose between standard and low-latency mode. (Closed)
Patch Set: . Created 10 years, 9 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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. 6 // header guard.
7 // See ipc_message_macros.h for explanation of the macros and passes. 7 // See ipc_message_macros.h for explanation of the macros and passes.
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 1810 matching lines...) Expand 10 before | Expand all | Expand 10 after
1821 1821
1822 // Get the list of proxies to use for |url|, as a semicolon delimited list 1822 // Get the list of proxies to use for |url|, as a semicolon delimited list
1823 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". See also 1823 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". See also
1824 // PluginProcessHostMsg_ResolveProxy which does the same thing. 1824 // PluginProcessHostMsg_ResolveProxy which does the same thing.
1825 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_ResolveProxy, 1825 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_ResolveProxy,
1826 GURL /* url */, 1826 GURL /* url */,
1827 int /* network error */, 1827 int /* network error */,
1828 std::string /* proxy list */) 1828 std::string /* proxy list */)
1829 1829
1830 // Request that got sent to browser for creating an audio output stream 1830 // Request that got sent to browser for creating an audio output stream
1831 IPC_MESSAGE_ROUTED2(ViewHostMsg_CreateAudioStream, 1831 IPC_MESSAGE_ROUTED3(ViewHostMsg_CreateAudioStream,
1832 int /* stream_id */, 1832 int /* stream_id */,
1833 ViewHostMsg_Audio_CreateStream_Params) 1833 ViewHostMsg_Audio_CreateStream_Params,
1834 bool /* low-latency */)
1834 1835
1835 // Tell the browser the audio buffer prepared for stream 1836 // Tell the browser the audio buffer prepared for stream
1836 // (render_view_id, stream_id) is filled and is ready to be consumed. 1837 // (render_view_id, stream_id) is filled and is ready to be consumed.
1837 IPC_MESSAGE_ROUTED2(ViewHostMsg_NotifyAudioPacketReady, 1838 IPC_MESSAGE_ROUTED2(ViewHostMsg_NotifyAudioPacketReady,
1838 int /* stream_id */, 1839 int /* stream_id */,
1839 uint32 /* packet size */) 1840 uint32 /* packet size */)
1840 1841
1841 // Start buffering the audio stream specified by (render_view_id, stream_id). 1842 // Start buffering the audio stream specified by (render_view_id, stream_id).
1842 IPC_MESSAGE_ROUTED1(ViewHostMsg_PlayAudioStream, 1843 IPC_MESSAGE_ROUTED1(ViewHostMsg_PlayAudioStream,
1843 int /* stream_id */) 1844 int /* stream_id */)
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
2273 int /* render_view_id */, 2274 int /* render_view_id */,
2274 int /* bridge_id */) 2275 int /* bridge_id */)
2275 2276
2276 // The |render_view_id| and |bridge_id| requests Geolocation service to 2277 // The |render_view_id| and |bridge_id| requests Geolocation service to
2277 // resume. 2278 // resume.
2278 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume, 2279 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume,
2279 int /* render_view_id */, 2280 int /* render_view_id */,
2280 int /* bridge_id */) 2281 int /* bridge_id */)
2281 2282
2282 IPC_END_MESSAGES(ViewHost) 2283 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/audio_renderer_host_unittest.cc ('k') | chrome/renderer/media/audio_renderer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698