libmpd  11.8.17
libmpd-status.h
Go to the documentation of this file.
1 /* libmpd (high level libmpdclient library)
2  * Copyright (C) 2004-2009 Qball Cow <qball@sarine.nl>
3  * Project homepage: http://gmpcwiki.sarine.nl/
4 
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9 
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14 
15  * You should have received a copy of the GNU General Public License along
16  * with this program; if not, write to the Free Software Foundation, Inc.,
17  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 */
19 
20 
21 #ifndef __MPD_LIB_STATUS__
22 #define __MPD_LIB_STATUS__
23 
27 
36 int mpd_status_check (MpdObj *mi);
37 
38 
39 
48 
49 
50 
59 int mpd_status_update (MpdObj *mi);
60 
61 
62 
70 float mpd_status_set_volume_as_float (MpdObj *mi, float fvol);
71 
72 
81 int mpd_status_set_volume (MpdObj *mi,int volume);
82 
83 
84 
93 
94 
95 
104 
105 
106 
114 unsigned int mpd_status_get_samplerate (MpdObj *mi);
115 
116 
117 
126 
127 
128 
136 int mpd_status_get_bits (MpdObj *mi);
137 
138 
139 
148 
149 
158 
159 
168 
169 
170 
179 int mpd_status_set_crossfade (MpdObj *mi, int crossfade_time);
180 
181 
182 
191 
198 char * mpd_status_get_mpd_error(MpdObj *mi);
199 
206 
207 
208 
209 
215 int mpd_stats_update (MpdObj *mi);
216 
217 
226 
227 
236 
237 
238 
247 
248 
249 
257 int mpd_stats_get_uptime (MpdObj *mi);
266 
267 
268 
277 
278 
279 
280 
282 #endif
int mpd_stats_update(MpdObj *mi)
int mpd_status_get_bits(MpdObj *mi)
unsigned int mpd_status_get_samplerate(MpdObj *mi)
int mpd_stats_get_total_albums(MpdObj *mi)
int mpd_status_get_elapsed_song_time(MpdObj *mi)
float mpd_status_set_volume_as_float(MpdObj *mi, float fvol)
int mpd_status_get_bitrate(MpdObj *mi)
struct _MpdObj MpdObj
Definition: libmpd.h:100
int mpd_status_get_channels(MpdObj *mi)
int mpd_status_get_crossfade(MpdObj *mi)
int mpd_status_update(MpdObj *mi)
char * mpd_status_get_mpd_error(MpdObj *mi)
int mpd_status_get_volume(MpdObj *mi)
int mpd_stats_get_total_artists(MpdObj *mi)
int mpd_status_get_total_song_time(MpdObj *mi)
int mpd_stats_get_db_playtime(MpdObj *mi)
int mpd_stats_get_total_songs(MpdObj *mi)
int mpd_status_queue_update(MpdObj *mi)
int mpd_status_set_crossfade(MpdObj *mi, int crossfade_time)
int mpd_status_set_volume(MpdObj *mi, int volume)
int mpd_status_db_is_updating(MpdObj *mi)
int mpd_stats_get_playtime(MpdObj *mi)
int mpd_stats_get_uptime(MpdObj *mi)
int mpd_status_check(MpdObj *mi)

Copyright 2006 Qball Cow