/usr/include/audacious/audctrl.h is in audacious-dev 3.4.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 | /*
* audctrl.h
* Copyright 2007-2011 Ben Tucker, William Pitcock, Yoshiki Yazawa,
* Matti Hämäläinen, and John Lindgren
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions, and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions, and the following disclaimer in the documentation
* provided with the distribution.
*
* This software is provided "as is" and without any warranty, express or
* implied. In no event shall the authors be liable for any damages arising from
* the use of this software.
*/
#ifndef AUDACIOUS_AUDCTRL_H
#define AUDACIOUS_AUDCTRL_H
#include <glib.h>
#include <dbus/dbus-glib.h>
G_BEGIN_DECLS
void audacious_remote_playlist(DBusGProxy *proxy, gchar **list, gint num,
gboolean enqueue);
gchar *audacious_remote_get_version(DBusGProxy *proxy);
void audacious_remote_playlist_add(DBusGProxy *proxy, GList *list);
void audacious_remote_playlist_delete(DBusGProxy *proxy, guint pos);
void audacious_remote_play(DBusGProxy *proxy);
void audacious_remote_pause(DBusGProxy *proxy);
void audacious_remote_stop(DBusGProxy *proxy);
gboolean audacious_remote_is_playing(DBusGProxy *proxy);
gboolean audacious_remote_is_paused(DBusGProxy *proxy);
gint audacious_remote_get_playlist_pos(DBusGProxy *proxy);
void audacious_remote_set_playlist_pos(DBusGProxy *proxy, guint pos);
gint audacious_remote_get_playlist_length(DBusGProxy *proxy);
void audacious_remote_playlist_clear(DBusGProxy *proxy);
gint audacious_remote_get_output_time(DBusGProxy *proxy);
void audacious_remote_jump_to_time(DBusGProxy *proxy, guint pos);
void audacious_remote_get_volume(DBusGProxy *proxy, gint *vl, gint *vr);
gint audacious_remote_get_main_volume(DBusGProxy *proxy);
gint audacious_remote_get_balance(DBusGProxy *proxy);
void audacious_remote_set_volume(DBusGProxy *proxy, gint vl, gint vr);
void audacious_remote_set_main_volume(DBusGProxy *proxy, gint v);
void audacious_remote_set_balance(DBusGProxy *proxy, gint b);
gchar *audacious_remote_get_skin(DBusGProxy *proxy);
void audacious_remote_set_skin(DBusGProxy *proxy, gchar *skinfile);
gchar *audacious_remote_get_playlist_file(DBusGProxy *proxy, guint pos);
gchar *audacious_remote_get_playlist_title(DBusGProxy *proxy, guint pos);
gint audacious_remote_get_playlist_time(DBusGProxy *proxy, guint pos);
void audacious_remote_get_info(DBusGProxy *proxy, gint *rate, gint *freq,
gint *nch);
void audacious_remote_main_win_toggle(DBusGProxy *proxy, gboolean show);
gboolean audacious_remote_is_main_win(DBusGProxy *proxy);
void audacious_remote_show_prefs_box(DBusGProxy *proxy);
void audacious_remote_toggle_aot(DBusGProxy *proxy, gboolean ontop);
void audacious_remote_eject(DBusGProxy *proxy);
void audacious_remote_playlist_prev(DBusGProxy *proxy);
void audacious_remote_playlist_next(DBusGProxy *proxy);
void audacious_remote_playlist_add_url_string(DBusGProxy *proxy,
gchar *string);
gboolean audacious_remote_is_running(DBusGProxy *proxy);
void audacious_remote_toggle_repeat(DBusGProxy *proxy);
void audacious_remote_toggle_shuffle(DBusGProxy *proxy);
void audacious_remote_toggle_stop_after (DBusGProxy * proxy);
gboolean audacious_remote_is_repeat(DBusGProxy *proxy);
gboolean audacious_remote_is_shuffle(DBusGProxy *proxy);
gboolean audacious_remote_is_stop_after (DBusGProxy * proxy);
void audacious_remote_get_eq(DBusGProxy *proxy, gdouble *preamp,
GArray **bands);
gdouble audacious_remote_get_eq_preamp(DBusGProxy *proxy);
gdouble audacious_remote_get_eq_band(DBusGProxy *proxy, gint band);
void audacious_remote_set_eq(DBusGProxy *proxy, gdouble preamp,
GArray *bands);
void audacious_remote_set_eq_preamp(DBusGProxy *proxy, gdouble preamp);
void audacious_remote_set_eq_band(DBusGProxy *proxy, gint band,
gdouble value);
/* Added in XMMS 1.2.1 */
void audacious_remote_quit(DBusGProxy *proxy);
/* Added in XMMS 1.2.6 */
void audacious_remote_play_pause(DBusGProxy *proxy);
void audacious_remote_playlist_ins_url_string(DBusGProxy *proxy,
gchar *string, guint pos);
/* Added in XMMS 1.2.11 */
void audacious_remote_playqueue_add(DBusGProxy *proxy, guint pos);
void audacious_remote_playqueue_remove(DBusGProxy *proxy, guint pos);
gint audacious_remote_get_playqueue_length(DBusGProxy *proxy);
void audacious_remote_toggle_advance(DBusGProxy *proxy);
gboolean audacious_remote_is_advance(DBusGProxy *proxy);
/* Added in Audacious 1.1 */
void audacious_remote_show_jtf_box(DBusGProxy *proxy);
void audacious_remote_playqueue_clear(DBusGProxy *proxy);
gboolean audacious_remote_playqueue_is_queued(DBusGProxy *proxy, guint pos);
gint audacious_remote_get_playqueue_list_position(DBusGProxy *proxy, guint qpos);
gint audacious_remote_get_playqueue_queue_position(DBusGProxy *proxy, guint pos);
/* Added in Audacious 1.2 */
void audacious_set_session_uri(DBusGProxy *proxy, gchar *uri);
gchar *audacious_get_session_uri(DBusGProxy *proxy);
void audacious_set_session_type(DBusGProxy *proxy, gint type);
/* Added in Audacious 1.3 */
void audacious_remote_playlist_enqueue_to_temp(DBusGProxy *proxy,
gchar *string);
gchar *audacious_get_tuple_field_data(DBusGProxy *proxy, gchar *field,
guint pos);
/* Added in Audacious 1.4 */
void audacious_remote_show_about_box(DBusGProxy *proxy);
void audacious_remote_toggle_about_box(DBusGProxy *proxy, gboolean show);
void audacious_remote_toggle_jtf_box(DBusGProxy *proxy, gboolean show);
void audacious_remote_toggle_prefs_box(DBusGProxy *proxy, gboolean show);
void audacious_remote_toggle_filebrowser(DBusGProxy *proxy, gboolean show);
void audacious_remote_eq_activate(DBusGProxy *proxy, gboolean active);
/* Added in Audacious 1.9 */
gchar **audacious_remote_get_tuple_fields(DBusGProxy *proxy);
/* Added in Audacious 2.3 */
void audacious_remote_playlist_open_list (DBusGProxy * proxy, GList * list);
void audacious_remote_playlist_open_list_to_temp (DBusGProxy * proxy, GList *
list);
/* Added in Audacious 2.4 */
gchar *audacious_remote_playlist_get_active_name(DBusGProxy *proxy);
G_END_DECLS
#endif /* AUDACIOUS_AUDCTRL_H */
|