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