annotate audacious/playback.h @ 2142:959722e6e277 trunk

[svn] - clear and free a playlist passed to playlist_remove_playlist
author giacomo
date Sat, 16 Dec 2006 05:41:27 -0800
parents f18a5b617c34
children 894f7aa46f83
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
283
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
1 /* BMP - Cross-platform multimedia player
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
2 * Copyright (C) 2003-2004 BMP development team.
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
3 *
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
4 * This program is free software; you can redistribute it and/or modify
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
5 * it under the terms of the GNU General Public License as published by
2105
f18a5b617c34 [svn] - move to GPLv2-only. Based on my interpretation of the license, we are
nenolod
parents: 1459
diff changeset
6 * the Free Software Foundation; under version 2 of the License.
283
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
7 *
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
8 * This program is distributed in the hope that it will be useful,
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
11 * GNU General Public License for more details.
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
12 *
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
13 * You should have received a copy of the GNU General Public License
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
14 * along with this program; if not, write to the Free Software
1459
705d4c089fce [svn] Fix postal code.
chainsaw
parents: 1458
diff changeset
15 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
283
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
16 */
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
17
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
18 #ifndef PLAYBACK_H
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
19 #define PLAYBACK_H
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
20
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
21 #include <glib.h>
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
22
356
99928e1275a1 [svn] This commit reduces the amount of times we probe a source down to ONE
nenolod
parents: 283
diff changeset
23 #include "audacious/playlist.h"
99928e1275a1 [svn] This commit reduces the amount of times we probe a source down to ONE
nenolod
parents: 283
diff changeset
24
283
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
25 void bmp_playback_set_random_skin(void);
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
26 gint bmp_playback_get_time(void);
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
27 void bmp_playback_initiate(void);
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
28 void bmp_playback_pause(void);
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
29 void bmp_playback_stop(void);
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
30 void bmp_playback_stop_reentrant(void);
398
f908bcd87c3d [svn] Generate cache content on demand if it was not previously there.
nenolod
parents: 356
diff changeset
31 gboolean bmp_playback_play_file(PlaylistEntry *entry);
283
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
32 gboolean bmp_playback_get_playing(void);
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
33 gboolean bmp_playback_get_paused(void);
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
34 void bmp_playback_seek(gint time);
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
35 void bmp_playback_seek_relative(gint offset);
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
36
72dcd30156ca [svn] Very initial start on libaudcore.
nenolod
parents:
diff changeset
37 #endif