Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: get playing offset  (Read 5544 times)

0 Members and 1 Guest are viewing this topic.

Srejv

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
get playing offset
« 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. :<

Srejv

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
get playing offset
« Reply #1 on: January 24, 2008, 08:59:32 pm »
Isn't there any way get the playing offset from a then music class? :(

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
get playing offset
« Reply #2 on: January 25, 2008, 03:01:49 am »
No, sorry there's currently no way.
Laurent Gomila - SFML developer

 

anything