Audacious
$Id:Doxyfile42802007-03-2104:39:00Znenolod$
Main Page
Related Pages
Classes
Files
File List
File Members
src
audacious
playback.h
Go to the documentation of this file.
1
/*
2
* playback.h
3
* Copyright 2006-2011 William Pitcock and John Lindgren
4
*
5
* Redistribution and use in source and binary forms, with or without
6
* modification, are permitted provided that the following conditions are met:
7
*
8
* 1. Redistributions of source code must retain the above copyright notice,
9
* this list of conditions, and the following disclaimer.
10
*
11
* 2. Redistributions in binary form must reproduce the above copyright notice,
12
* this list of conditions, and the following disclaimer in the documentation
13
* provided with the distribution.
14
*
15
* This software is provided "as is" and without any warranty, express or
16
* implied. In no event shall the authors be liable for any damages arising from
17
* the use of this software.
18
*/
19
20
#ifndef AUDACIOUS_PLAYBACK_H
21
#define AUDACIOUS_PLAYBACK_H
22
23
#include <
libaudcore/core.h
>
24
25
void
playback_play
(
int
seek_time
,
bool_t
pause
);
26
int
playback_get_time
(
void
);
27
void
playback_pause
(
void
);
28
void
playback_stop
(
void
);
29
bool_t
playback_get_playing
(
void
);
30
bool_t
playback_get_ready
(
void
);
31
bool_t
playback_get_paused
(
void
);
32
void
playback_seek
(
int
time);
33
34
char
*
playback_get_filename
(
void
);
/* pooled */
35
char
*
playback_get_title
(
void
);
/* pooled */
36
int
playback_get_length
(
void
);
37
void
playback_get_info
(
int
* bitrate,
int
* samplerate,
int
*
channels
);
38
39
void
playback_get_volume
(
int
* l,
int
* r);
40
void
playback_set_volume
(
int
l,
int
r);
41
42
#endif
/* AUDACIOUS_PLAYBACK_H */
Generated by
1.8.1.1