libsaria: Reenabled seeking
Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
This commit is contained in:
parent
d6d455ab7f
commit
595806ec0f
|
@ -34,8 +34,8 @@ namespace libsaria
|
|||
bool is_playing();*/
|
||||
|
||||
/* Position related functions */
|
||||
/*bool seek(int);
|
||||
void seek_to(double);*/
|
||||
/*bool seek(int);*/
|
||||
void seek_to(double);
|
||||
gint64 duration();
|
||||
gint64 position();
|
||||
string posstr();
|
||||
|
|
|
@ -43,13 +43,13 @@ namespace libsaria
|
|||
{
|
||||
|
||||
/* Seek to this many seconds into the song */
|
||||
/*void audio::seek_to(double pos)
|
||||
void audio::seek_to(double pos)
|
||||
{
|
||||
gst_element_seek_simple(GST_ELEMENT(player),
|
||||
GST_FORMAT_TIME,
|
||||
GST_SEEK_FLAG_FLUSH,
|
||||
pos);
|
||||
}*/
|
||||
}
|
||||
|
||||
/*
|
||||
* Use to seek forward or backward in a song
|
||||
|
|
Loading…
Reference in New Issue