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(); |
(...skipping 24 matching lines...) Expand all Loading... |
35 int pa_stream_drop(pa_stream *p); | 35 int pa_stream_drop(pa_stream *p); |
36 pa_operation* pa_stream_flush(pa_stream* s, pa_stream_success_cb_t cb, void* use
rdata); | 36 pa_operation* pa_stream_flush(pa_stream* s, pa_stream_success_cb_t cb, void* use
rdata); |
37 uint32_t pa_stream_get_device_index(pa_stream* s); | 37 uint32_t pa_stream_get_device_index(pa_stream* s); |
38 int pa_stream_get_latency(pa_stream* s, pa_usec_t* r_usec, int* negative); | 38 int pa_stream_get_latency(pa_stream* s, pa_usec_t* r_usec, int* negative); |
39 pa_stream_state_t pa_stream_get_state(pa_stream* p); | 39 pa_stream_state_t pa_stream_get_state(pa_stream* p); |
40 pa_stream* pa_stream_new(pa_context* c, const char* name, const pa_sample_spec
* ss, const pa_channel_map * map); | 40 pa_stream* pa_stream_new(pa_context* c, const char* name, const pa_sample_spec
* ss, const pa_channel_map * map); |
41 size_t pa_stream_readable_size(pa_stream *p); | 41 size_t pa_stream_readable_size(pa_stream *p); |
42 int pa_stream_peek(pa_stream* p, const void** data, size_t* nbytes); | 42 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); | 43 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); | 44 void pa_stream_set_state_callback(pa_stream* s, pa_stream_notify_cb_t cb, void*
userdata); |
| 45 size_t pa_stream_writable_size(pa_stream* p); |
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); |
OLD | NEW |