ocarina/include/audio.h

28 lines
362 B
C
Raw Normal View History

/*
* Copyright 2013 (c) Anna Schumaker.
*/
#ifndef OCARINA_AUDIO_H
#define OCARINA_AUDIO_H
extern "C" {
#include <gst/gst.h>
}
namespace audio
{
void init(int *, char ***);
bool play();
bool pause();
bool stop();
bool next();
unsigned int current_trackid();
bool seek_to(long);
long position();
long duration();
};
#endif /* OCARINA_AUDIO_H */