ocarina/include/audio.h
Bryan Schumaker 258875bdb8 libsaria: Move header files out of include/libsaria/
Ocarina no longer has a header file subdirectory so there is no reason
to have a libsaria subdirectory anymore.  Putting header files directly
in the include/ directory is a bit simpler.

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-09-12 08:15:31 -04:00

53 lines
916 B
C++

#ifndef LIBSARIA_AUDIO_H
#define LIBSARIA_AUDIO_H
extern "C" {
#include <gst/gst.h>
}
#include <list>
#include <string>
using namespace std;
namespace libsaria
{
namespace audio
{
void init(int, char**);
void quit();
/*void swap();
string get_current_file();*/
/* Alsa controls */
/*void use_alsa(bool);
bool using_alsa();
list<string> *get_alsa_devices();
void set_device(string &);*/
/* Playback control functions */
/*void load_file(string);*/
void load(string, bool);
void play();
void pause();
void toggle_play();
GstState get_state();
void stop();
/*bool is_playing();*/
/* Position related functions */
/*bool seek(int);*/
void seek_to(double);
gint64 duration();
gint64 position();
string posstr();
string durstr();
bool played();
/* Volume functions */
/*float get_volume();
void set_volume(float);*/
};
};
#endif /* LIBSARIA_AUDIO_H */