Mercurial > audlegacy
annotate src/audacious/playback.h @ 3957:fed07be6b708
every other menu shows on button press..
| author | Tomasz Mon <desowin@gmail.com> |
|---|---|
| date | Fri, 16 Nov 2007 15:20:07 +0100 |
| parents | 9489aae0d872 |
| children | 2d6fd3f630f0 |
| rev | line source |
|---|---|
| 2313 | 1 /* Audacious - Cross-platform multimedia player |
| 2 * Copyright (C) 2005-2007 Audacious development team | |
| 3 * | |
| 4 * Based on BMP: | |
| 5 * Copyright (C) 2003-2004 BMP development team | |
| 6 * | |
| 7 * This program is free software; you can redistribute it and/or modify | |
| 8 * it under the terms of the GNU General Public License as published by | |
|
3121
3b6d316f8b09
GPL3 relicensing.
William Pitcock <nenolod@atheme-project.org>
parents:
2443
diff
changeset
|
9 * the Free Software Foundation; under version 3 of the License. |
| 2313 | 10 * |
| 11 * This program is distributed in the hope that it will be useful, | |
| 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 * GNU General Public License for more details. | |
| 15 * | |
| 16 * You should have received a copy of the GNU General Public License | |
|
3121
3b6d316f8b09
GPL3 relicensing.
William Pitcock <nenolod@atheme-project.org>
parents:
2443
diff
changeset
|
17 * along with this program. If not, see <http://www.gnu.org/licenses>. |
|
3123
f1c756f39e6c
Invoke "Plugins are not derived work" clause provided by GPL3.
William Pitcock <nenolod@atheme-project.org>
parents:
3121
diff
changeset
|
18 * |
|
f1c756f39e6c
Invoke "Plugins are not derived work" clause provided by GPL3.
William Pitcock <nenolod@atheme-project.org>
parents:
3121
diff
changeset
|
19 * The Audacious team does not consider modular code linking to |
|
f1c756f39e6c
Invoke "Plugins are not derived work" clause provided by GPL3.
William Pitcock <nenolod@atheme-project.org>
parents:
3121
diff
changeset
|
20 * Audacious or using our public API to be a derived work. |
| 2313 | 21 */ |
| 22 | |
| 23 #ifndef PLAYBACK_H | |
| 24 #define PLAYBACK_H | |
| 25 | |
| 26 #include <glib.h> | |
| 27 | |
|
2443
93686e8815a4
[svn] - Changed playback_set_random_skin() to skin_set_random_skin()
mf0102
parents:
2366
diff
changeset
|
28 #include "playlist.h" |
|
3710
602002306969
generic playback control API
William Pitcock <nenolod@atheme.org>
parents:
3158
diff
changeset
|
29 #include "plugin.h" |
| 2313 | 30 |
| 31 gint playback_get_time(void); | |
|
3716
9489aae0d872
introduce playback_get_length()
Tomasz Mon <desowin@gmail.com>
parents:
3710
diff
changeset
|
32 gint playback_get_length(void); |
| 2313 | 33 void playback_initiate(void); |
| 34 void playback_pause(void); | |
| 35 void playback_stop(void); | |
| 36 gboolean playback_play_file(PlaylistEntry *entry); | |
| 37 gboolean playback_get_playing(void); | |
| 38 gboolean playback_get_paused(void); | |
| 39 void playback_seek(gint time); | |
| 40 void playback_seek_relative(gint offset); | |
|
3152
c9471f83944c
Add playback_eof(). Plugins should use this instead of playback->eof = 1.
William Pitcock <nenolod@atheme-project.org>
parents:
3123
diff
changeset
|
41 void playback_eof(void); |
|
3158
92717dcb09f6
Send a message from the monitor thread to the main thread for audio errors, like we do with eof condition.
William Pitcock <nenolod@atheme-project.org>
parents:
3152
diff
changeset
|
42 void playback_error(void); |
|
3710
602002306969
generic playback control API
William Pitcock <nenolod@atheme.org>
parents:
3158
diff
changeset
|
43 InputPlayback *playback_new(void); |
|
602002306969
generic playback control API
William Pitcock <nenolod@atheme.org>
parents:
3158
diff
changeset
|
44 void playback_run(InputPlayback *); |
| 2313 | 45 |
| 46 #endif |
