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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Alvaro

Pages: [1]
1
Audio / Delay when using sf::Sound
« on: October 31, 2013, 07:28:37 pm »
Hi,

I am getting a large delay (about 0.2 seconds) when trying to play a sound using sf::Sound.

I am using SFML 2.1 with Ubuntu 13.10 Linux in VirtualBox, with a MacBook Air running OSX 10.9 as the host. I tried installing XCode 5 and SFML 2.1 on the OSX directly and then there is no appreciable delay. I am pretty confident at this point that my program is correct (it's a simple test and I am a competent programmer, plus it works fine on OSX, as I just explained). So it must be something with the OpenAL driver in my Linux installation , or something of that sort (and this is the type of thing where I am not competent at all).

Does anyone have any ideas on how to fix this, or where to even begin to look? I will continue programming on OSX for the time being, but I really like programming on Linux much better, and it would be nice if SFML 2.1 could be used in my VirtualBox setup.

Thanks!


Pages: [1]
anything