OLD | NEW |
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 int pa_threaded_mainloop_in_thread(pa_threaded_mainloop* m); |
13 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); |
14 int pa_threaded_mainloop_start(pa_threaded_mainloop* m); | 14 int pa_threaded_mainloop_start(pa_threaded_mainloop* m); |
15 void pa_threaded_mainloop_stop(pa_threaded_mainloop* m); | 15 void pa_threaded_mainloop_stop(pa_threaded_mainloop* m); |
16 void pa_threaded_mainloop_unlock(pa_threaded_mainloop* m); | 16 void pa_threaded_mainloop_unlock(pa_threaded_mainloop* m); |
17 void pa_threaded_mainloop_wait(pa_threaded_mainloop* m); | 17 void pa_threaded_mainloop_wait(pa_threaded_mainloop* m); |
(...skipping 25 matching lines...) Expand all Loading... |
43 size_t pa_stream_readable_size(pa_stream *p); | 43 size_t pa_stream_readable_size(pa_stream *p); |
44 int pa_stream_peek(pa_stream* p, const void** data, size_t* nbytes); | 44 int pa_stream_peek(pa_stream* p, const void** data, size_t* nbytes); |
45 void pa_stream_set_read_callback(pa_stream* p, pa_stream_request_cb_t cb, void*
userdata); | 45 void pa_stream_set_read_callback(pa_stream* p, pa_stream_request_cb_t cb, void*
userdata); |
46 void pa_stream_set_state_callback(pa_stream* s, pa_stream_notify_cb_t cb, void*
userdata); | 46 void pa_stream_set_state_callback(pa_stream* s, pa_stream_notify_cb_t cb, void*
userdata); |
47 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); | 47 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); |
48 void pa_stream_set_write_callback(pa_stream *p, pa_stream_request_cb_t cb, void
*userdata); | 48 void pa_stream_set_write_callback(pa_stream *p, pa_stream_request_cb_t cb, void
*userdata); |
49 void pa_stream_unref(pa_stream* s); | 49 void pa_stream_unref(pa_stream* s); |
50 int pa_context_errno(pa_context *c); | 50 int pa_context_errno(pa_context *c); |
51 const char* pa_strerror(int error); | 51 const char* pa_strerror(int error); |
52 pa_cvolume* pa_cvolume_set(pa_cvolume* a, unsigned channels, pa_volume_t v); | 52 pa_cvolume* pa_cvolume_set(pa_cvolume* a, unsigned channels, pa_volume_t v); |
OLD | NEW |