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

Side by Side Diff: media/audio/pulse/pulse.sigs

Issue 12310102: Change GetVolume() to be asynchronous when being called by pulse thread (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updated the comments Created 7 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 | Annotate | Revision Log
« no previous file with comments | « content/renderer/media/webrtc_audio_device_impl.cc ('k') | media/audio/pulse/pulse_input.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 #------------------------------------------------ 5 #------------------------------------------------
6 # Functions from pulse used in media code. 6 # Functions from pulse used in media code.
7 #------------------------------------------------ 7 #------------------------------------------------
8 pa_mainloop_api* pa_threaded_mainloop_get_api(pa_threaded_mainloop* m); 8 pa_mainloop_api* pa_threaded_mainloop_get_api(pa_threaded_mainloop* m);
9 void pa_threaded_mainloop_free(pa_threaded_mainloop* m); 9 void pa_threaded_mainloop_free(pa_threaded_mainloop* m);
10 pa_threaded_mainloop* pa_threaded_mainloop_new(); 10 pa_threaded_mainloop* pa_threaded_mainloop_new();
11 void pa_threaded_mainloop_lock(pa_threaded_mainloop* m); 11 void pa_threaded_mainloop_lock(pa_threaded_mainloop* m);
12 int pa_threaded_mainloop_in_thread(pa_threaded_mainloop* m);
12 void pa_threaded_mainloop_signal(pa_threaded_mainloop* m, int wait_for_accept); 13 void pa_threaded_mainloop_signal(pa_threaded_mainloop* m, int wait_for_accept);
13 int pa_threaded_mainloop_start(pa_threaded_mainloop* m); 14 int pa_threaded_mainloop_start(pa_threaded_mainloop* m);
14 void pa_threaded_mainloop_stop(pa_threaded_mainloop* m); 15 void pa_threaded_mainloop_stop(pa_threaded_mainloop* m);
15 void pa_threaded_mainloop_unlock(pa_threaded_mainloop* m); 16 void pa_threaded_mainloop_unlock(pa_threaded_mainloop* m);
16 void pa_threaded_mainloop_wait(pa_threaded_mainloop* m); 17 void pa_threaded_mainloop_wait(pa_threaded_mainloop* m);
17 pa_channel_map* pa_channel_map_init(pa_channel_map* m); 18 pa_channel_map* pa_channel_map_init(pa_channel_map* m);
18 int pa_context_connect(pa_context* c, const char* server, pa_context_flags_t fla gs, const pa_spawn_api* api); 19 int pa_context_connect(pa_context* c, const char* server, pa_context_flags_t fla gs, const pa_spawn_api* api);
19 void pa_context_disconnect(pa_context* c); 20 void pa_context_disconnect(pa_context* c);
20 pa_operation* pa_context_get_server_info(pa_context* c, pa_server_info_cb_t cb, void* userdata); 21 pa_operation* pa_context_get_server_info(pa_context* c, pa_server_info_cb_t cb, void* userdata);
21 pa_operation* pa_context_get_source_info_by_index(pa_context* c, uint32_t idx, p a_source_info_cb_t cb, void* userdata); 22 pa_operation* pa_context_get_source_info_by_index(pa_context* c, uint32_t idx, p a_source_info_cb_t cb, void* userdata);
(...skipping 19 matching lines...) Expand all
41 size_t pa_stream_readable_size(pa_stream *p); 42 size_t pa_stream_readable_size(pa_stream *p);
42 int pa_stream_peek(pa_stream* p, const void** data, size_t* nbytes); 43 int pa_stream_peek(pa_stream* p, const void** data, size_t* nbytes);
43 void pa_stream_set_read_callback(pa_stream* p, pa_stream_request_cb_t cb, void* userdata); 44 void pa_stream_set_read_callback(pa_stream* p, pa_stream_request_cb_t cb, void* userdata);
44 void pa_stream_set_state_callback(pa_stream* s, pa_stream_notify_cb_t cb, void* userdata); 45 void pa_stream_set_state_callback(pa_stream* s, pa_stream_notify_cb_t cb, void* userdata);
45 int pa_stream_write(pa_stream* p, const void* data, size_t nbytes, pa_free_cb_t free_cb, int64_t offset, pa_seek_mode_t seek); 46 int pa_stream_write(pa_stream* p, const void* data, size_t nbytes, pa_free_cb_t free_cb, int64_t offset, pa_seek_mode_t seek);
46 void pa_stream_set_write_callback(pa_stream *p, pa_stream_request_cb_t cb, void *userdata); 47 void pa_stream_set_write_callback(pa_stream *p, pa_stream_request_cb_t cb, void *userdata);
47 void pa_stream_unref(pa_stream* s); 48 void pa_stream_unref(pa_stream* s);
48 int pa_context_errno(pa_context *c); 49 int pa_context_errno(pa_context *c);
49 const char* pa_strerror(int error); 50 const char* pa_strerror(int error);
50 pa_cvolume* pa_cvolume_set(pa_cvolume* a, unsigned channels, pa_volume_t v); 51 pa_cvolume* pa_cvolume_set(pa_cvolume* a, unsigned channels, pa_volume_t v);
OLDNEW
« no previous file with comments | « content/renderer/media/webrtc_audio_device_impl.cc ('k') | media/audio/pulse/pulse_input.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698