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

Author Topic: GetPlayingOffset interval  (Read 2372 times)

0 Members and 1 Guest are viewing this topic.

glxc

  • Newbie
  • *
  • Posts: 1
    • View Profile
GetPlayingOffset interval
« on: March 30, 2013, 03:19:36 pm »
Hello,

I am interested in using SFML Audio in a beat matching application

A program allows me to get preprocessed beat timings in a sound file with high precision

I'm trying to match those times with the current audio playtime using GetPlayingOffset

On Ubuntu 12.04 with gcc 4.7 i was getting intervals of .02322s and .04644s, then on a VM with Ubuntu 11.10 and gcc 4.6 got steady intervals of .08s.  Am using SFML 1.6

How can I get the GetPlayingOffset interval as small as possible (or at least maintain .02322 as .08 wasn't desirable)?  In a previous post someone indicated the interval is dependent on the buffer size, but I made the buffer smaller with no interval reduction.  And wouldn't the default buffer size be the same between systems? 

Appreciate any insight into the GetPlayingOffset method or with my current approach

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: GetPlayingOffset interval
« Reply #1 on: March 30, 2013, 06:14:56 pm »
I guess it depends on some internal settings of OpenAL. I have no control over this kind of stuff. And you should use SFML 2, 1.6 is already deprecated and has been unmaintained for almost 3 years.
Laurent Gomila - SFML developer

 

anything