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.


Messages - xero7689

Pages: [1]
1
Audio / Re: Can't Play Music
« on: December 27, 2013, 11:22:55 am »
Thanks, I'll go back to check my vm setting.

2
Audio / Can't Play Music
« on: December 26, 2013, 12:37:36 pm »
My program is executed successfully but the music doesn't play.

This are message I copy from console:
OpenGL Warning: Failed to connect to host. Make sure 3D acceleration is enabled for this VM.
libGL error: failed to load driver: vboxvideo
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
Failed to load image "ksk.jpg". Reason : Unable to open file
AL lib: (EE) ALSAProc: Wait timeout... buffer size too low?
AL lib: (EE) ALSAProc: Wait timeout... buffer size too low?
AL lib: (EE) ALSAProc: Wait timeout... buffer size too low?
 

and the code I use to play music:
sf::Music music;
if(!music.openFromFile("heroes.ogg"))
    return EXIT_FAILURE;
music.play();
 

The program is compiled and executed on arch-linux 64bit installed under virtual-box.

(This is the first time I post question. If there is  any information I forgot to provide please tell me, thanks.)

Pages: [1]
anything