Changeset 3404:208155c7da25 in roaraudio
- Timestamp:
- 02/11/10 16:11:11 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroarpulse/introspect.c
r3403 r3404 39 39 #include <libroarpulse/libroarpulse.h> 40 40 41 /** Get information about a sink by its name */ 42 pa_operation* pa_context_get_sink_info_by_name(pa_context *c, const char *name, pa_sink_info_cb_t cb, void *userdata); 43 44 /** Get information about a sink by its index */ 45 pa_operation* pa_context_get_sink_info_by_index(pa_context *c, uint32_t id, pa_sink_info_cb_t cb, void *userdata); 46 47 /** Get the complete sink list */ 48 pa_operation* pa_context_get_sink_info_list(pa_context *c, pa_sink_info_cb_t cb, void *userdata); 49 50 /** Get information about a source by its name */ 51 pa_operation* pa_context_get_source_info_by_name(pa_context *c, const char *name, pa_source_info_cb_t cb, void *userdata); 52 53 /** Get information about a source by its index */ 54 pa_operation* pa_context_get_source_info_by_index(pa_context *c, uint32_t id, pa_source_info_cb_t cb, void *userdata); 55 56 /** Get the complete source list */ 57 pa_operation* pa_context_get_source_info_list(pa_context *c, pa_source_info_cb_t cb, void *userdata); 58 59 /** Get some information about the server */ 60 pa_operation* pa_context_get_server_info(pa_context *c, pa_server_info_cb_t cb, void *userdata); 61 62 /** Get some information about a module by its index */ 63 pa_operation* pa_context_get_module_info(pa_context *c, uint32_t idx, pa_module_info_cb_t cb, void *userdata); 64 65 /** Get the complete list of currently loaded modules */ 66 pa_operation* pa_context_get_module_info_list(pa_context *c, pa_module_info_cb_t cb, void *userdata); 67 68 /** Get information about a client by its index */ 69 pa_operation* pa_context_get_client_info(pa_context *c, uint32_t idx, pa_client_info_cb_t cb, void *userdata); 70 71 /** Get the complete client list */ 72 pa_operation* pa_context_get_client_info_list(pa_context *c, pa_client_info_cb_t cb, void *userdata); 73 74 /** Get some information about a sink input by its index */ 75 pa_operation* pa_context_get_sink_input_info(pa_context *c, uint32_t idx, pa_sink_input_info_cb_t cb, void *userdata); 76 77 /** Get the complete sink input list */ 78 pa_operation* pa_context_get_sink_input_info_list(pa_context *c, pa_sink_input_info_cb_t cb, void *userdata); 79 80 /** Get information about a source output by its index */ 81 pa_operation* pa_context_get_source_output_info(pa_context *c, uint32_t idx, pa_source_output_info_cb_t cb, void *userdata); 82 83 /** Get the complete list of source outputs */ 84 pa_operation* pa_context_get_source_output_info_list(pa_context *c, pa_source_output_info_cb_t cb, void *userdata); 85 86 /** Set the volume of a sink device specified by its index */ 87 pa_operation* pa_context_set_sink_volume_by_index(pa_context *c, uint32_t idx, const pa_cvolume *volume, pa_context_success_cb_t cb, void *userdata); 88 89 /** Set the volume of a sink device specified by its name */ 90 pa_operation* pa_context_set_sink_volume_by_name(pa_context *c, const char *name, const pa_cvolume *volume, pa_context_success_cb_t cb, void *userdata); 91 92 /** Set the mute switch of a sink device specified by its index \since 0.8 */ 93 pa_operation* pa_context_set_sink_mute_by_index(pa_context *c, uint32_t idx, int mute, pa_context_success_cb_t cb, void *userdata); 94 95 /** Set the mute switch of a sink device specified by its name \since 0.8 */ 96 pa_operation* pa_context_set_sink_mute_by_name(pa_context *c, const char *name, int mute, pa_context_success_cb_t cb, void *userdata); 97 98 /** Set the volume of a sink input stream */ 99 pa_operation* pa_context_set_sink_input_volume(pa_context *c, uint32_t idx, const pa_cvolume *volume, pa_context_success_cb_t cb, void *userdata); 100 101 /** Set the volume of a source device specified by its index \since 0.8 */ 102 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); 103 104 /** Set the volume of a source device specified by its name \since 0.8 */ 105 pa_operation* pa_context_set_source_volume_by_name(pa_context *c, const char *name, const pa_cvolume *volume, pa_context_success_cb_t cb, void *userdata); 106 107 /** Set the mute switch of a source device specified by its index \since 0.8 */ 108 pa_operation* pa_context_set_source_mute_by_index(pa_context *c, uint32_t idx, int mute, pa_context_success_cb_t cb, void *userdata); 109 110 /** Set the mute switch of a source device specified by its name \since 0.8 */ 111 pa_operation* pa_context_set_source_mute_by_name(pa_context *c, const char *name, int mute, pa_context_success_cb_t cb, void *userdata); 112 113 /** Get daemon memory block statistics */ 114 pa_operation* pa_context_stat(pa_context *c, pa_stat_info_cb_t cb, void *userdata); 115 116 /** Get information about a sample by its name */ 117 pa_operation* pa_context_get_sample_info_by_name(pa_context *c, const char *name, pa_sample_info_cb_t cb, void *userdata); 118 119 /** Get information about a sample by its index */ 120 pa_operation* pa_context_get_sample_info_by_index(pa_context *c, uint32_t idx, pa_sample_info_cb_t cb, void *userdata); 121 122 /** Get the complete list of samples stored in the daemon. */ 123 pa_operation* pa_context_get_sample_info_list(pa_context *c, pa_sample_info_cb_t cb, void *userdata); 124 125 /** Kill a client. \since 0.5 */ 126 pa_operation* pa_context_kill_client(pa_context *c, uint32_t idx, pa_context_success_cb_t cb, void *userdata); 127 128 /** Kill a sink input. \since 0.5 */ 129 pa_operation* pa_context_kill_sink_input(pa_context *c, uint32_t idx, pa_context_success_cb_t cb, void *userdata); 130 131 /** Kill a source output. \since 0.5 */ 132 pa_operation* pa_context_kill_source_output(pa_context *c, uint32_t idx, pa_context_success_cb_t cb, void *userdata); 133 134 /** Load a module. \since 0.5 */ 135 pa_operation* pa_context_load_module(pa_context *c, const char*name, const char *argument, pa_context_index_cb_t cb, void *userdata); 136 137 /** Unload a module. \since 0.5 */ 138 pa_operation* pa_context_unload_module(pa_context *c, uint32_t idx, pa_context_success_cb_t cb, void *userdata); 139 140 141 /** Get info about a specific autoload entry. \since 0.6 */ 142 pa_operation* pa_context_get_autoload_info_by_name(pa_context *c, const char *name, pa_autoload_type_t type, pa_autoload_info_cb_t cb, void *userdata); 143 144 /** Get info about a specific autoload entry. \since 0.6 */ 145 pa_operation* pa_context_get_autoload_info_by_index(pa_context *c, uint32_t idx, pa_autoload_info_cb_t cb, void *userdata); 146 147 /** Get the complete list of autoload entries. \since 0.5 */ 148 pa_operation* pa_context_get_autoload_info_list(pa_context *c, pa_autoload_info_cb_t cb, void *userdata); 149 150 /** Add a new autoload entry. \since 0.5 */ 151 pa_operation* pa_context_add_autoload(pa_context *c, const char *name, pa_autoload_type_t type, const char *module, const char*argument, pa_context_index_cb_t, void* userdata); 152 153 /** Remove an autoload entry. \since 0.6 */ 154 pa_operation* pa_context_remove_autoload_by_name(pa_context *c, const char *name, pa_autoload_type_t type, pa_context_success_cb_t cb, void* userdata); 155 156 /** Remove an autoload entry. \since 0.6 */ 157 pa_operation* pa_context_remove_autoload_by_index(pa_context *c, uint32_t idx, pa_context_success_cb_t cb, void* userdata); 158 159 /** Move the specified sink input to a different sink. \since 0.9.5 */ 160 pa_operation* pa_context_move_sink_input_by_name(pa_context *c, uint32_t idx, char *sink_name, pa_context_success_cb_t cb, void* userdata); 161 162 /** Move the specified sink input to a different sink. \since 0.9.5 */ 163 pa_operation* pa_context_move_sink_input_by_index(pa_context *c, uint32_t idx, uint32_t sink_idx, pa_context_success_cb_t cb, void* userdata); 164 165 /** Move the specified source output to a different source. \since 0.9.5 */ 166 pa_operation* pa_context_move_source_output_by_name(pa_context *c, uint32_t idx, char *source_name, pa_context_success_cb_t cb, void* userdata); 167 168 /** Move the specified source output to a different source. \since 0.9.5 */ 169 pa_operation* pa_context_move_source_output_by_index(pa_context *c, uint32_t idx, uint32_t source_idx, pa_context_success_cb_t cb, void* userdata); 170 41 171 //ll
Note: See TracChangeset
for help on using the changeset viewer.