SFML community forums

Help => Audio => Topic started by: Srejv on January 18, 2008, 03:40:20 pm

Title: get playing offset
Post by: Srejv on January 18, 2008, 03:40:20 pm
How do I get the playing offset from sf::Music?

Code: [Select]
/usr/include/SFML/Audio/Sound.hpp: In member function 'float pbox::Jukebox::CheckOffset()':
/usr/include/SFML/Audio/Sound.hpp:211: error: 'float sf::Sound::GetPlayingOffset() const' is inaccessible
jukebox.cpp:152: error: within this context
jukebox.cpp:152: error: 'sf::Sound' is not an accessible base of 'sf::Music'


The error I got while trying. :<
Title: get playing offset
Post by: Srejv on January 24, 2008, 08:59:32 pm
Isn't there any way get the playing offset from a then music class? :(
Title: get playing offset
Post by: Laurent on January 25, 2008, 03:01:49 am
No, sorry there's currently no way.