OLD | NEW |
---|---|
(Empty) | |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | |
DaleCurtis
2013/02/20 00:17:38
Looks much nicer!!
| |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 #------------------------------------------------ | |
6 # Functions from pulse used in media code. | |
7 #------------------------------------------------ | |
8 pa_mainloop_api* pa_threaded_mainloop_get_api(pa_threaded_mainloop* m); | |
9 void pa_threaded_mainloop_free(pa_threaded_mainloop* m); | |
10 pa_threaded_mainloop* pa_threaded_mainloop_new(); | |
11 void pa_threaded_mainloop_lock(pa_threaded_mainloop* m); | |
12 void pa_threaded_mainloop_signal(pa_threaded_mainloop* m, int wait_for_accept); | |
13 int pa_threaded_mainloop_start(pa_threaded_mainloop* m); | |
14 void pa_threaded_mainloop_stop(pa_threaded_mainloop* m); | |
15 void pa_threaded_mainloop_unlock(pa_threaded_mainloop* m); | |
16 void pa_threaded_mainloop_wait(pa_threaded_mainloop* m); | |
17 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 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_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_list(pa_context* c, pa_source_info_cb_t cb, void* userdata); | |
23 pa_context_state_t pa_context_get_state(pa_context* c); | |
24 pa_context* pa_context_new(pa_mainloop_api* mainloop, const char* name); | |
25 pa_operation* pa_context_set_source_volume_by_index(pa_context* c, uint32_t idx, const pa_cvolume* volume, pa_context_success_cb_t cb, void* userdata); | |
26 void pa_context_set_state_callback(pa_context* c, pa_context_notify_cb_t cb, voi d* userdata); | |
27 pa_operation_state_t pa_operation_get_state(pa_operation* o); | |
28 void pa_context_unref(pa_context* c); | |
29 void pa_operation_unref(pa_operation* o); | |
30 int pa_stream_begin_write(pa_stream* p, void** data, size_t* nbytes); | |
31 int pa_stream_connect_playback(pa_stream* s, const char* dev, const pa_buffer_at tr* attr, pa_stream_flags_t flags, const pa_cvolume* volume,pa_stream* sync_stre am); | |
32 int pa_stream_connect_record(pa_stream* s, const char* dev, const pa_buffer_attr * attr, pa_stream_flags_t flags); | |
33 pa_operation* pa_stream_cork(pa_stream* s, int b, pa_stream_success_cb_t cb, voi d* userdata); | |
34 int pa_stream_disconnect(pa_stream* s); | |
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); | |
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); | |
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); | |
41 size_t pa_stream_readable_size(pa_stream *p); | |
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); | |
44 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 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 int pa_context_errno(pa_context *c); | |
49 const char* pa_strerror(int error); | |
50 pa_cvolume* pa_cvolume_set(pa_cvolume* a, unsigned channels, pa_volume_t v); | |
OLD | NEW |