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 - zzzzlzzzz

Pages: [1]
1
Audio / Re: Trouble with sf::Music
« on: August 28, 2015, 04:12:50 pm »
I test my game in two case: use precompiled sfml and use git version.
If i use precompiled version game not play music, show message in console, and crashed because stack overflow. Messages similar to git version messages, but short (show source file, line number and short error type (exmpl.  AL_INVALID_OPERATION))
If i use git version game not play music and show message in console (first post).
It happened sometimes in debug version. In release all ok.

After i recompile all project file and library problem gone. I'm not sure that it's solving my problem, but program working.

2
Audio / Re: Trouble with sf::Music
« on: August 28, 2015, 02:23:50 pm »
About dll: i test my code with version on sfml-dev (and his dll), and with version on git (and his dll). I make this for get more detailed error report.

I don't know how repeat condition for generation my problem, and very strange that my problem generated sometimes.

3
Audio / Re: Trouble with sf::Music
« on: August 28, 2015, 11:15:10 am »
My current code:
(click to show/hide)
My problem shown sometimes. In console shown messages (in first post) and music not played. And next program crashed. Many run my program work fine.
I don't understand reasons error.

Maybe, main reasons - it is my OS? I use OpenAL from distributibe SFML.

P.S. Messages show in console asynchronously. Sometimes message crossed. (exmpl. An internal iled in SoundSource.cpp(177) OpenAL call failed in SoundSource.cpp(177).)

4
Audio / Re: Trouble with sf::Music
« on: August 27, 2015, 06:54:35 pm »
Thanks for reply!

The my demo code is:

(click to show/hide)

If i run this without creating window - all ok (infinite loop). I think, trouble generated in call sf::Music::play (may be i wrong).

I use SFML from git and from official site.
My OS: Windows 7 x64
My IDE: Visual Studio 2013
I build x32 application and x32 version sfml.

5
Audio / Trouble with sf::Music
« on: August 27, 2015, 01:12:34 pm »
Hello, i write simple game with SFML.
I using sf::Sound and all is ok. If i use sf::Music periodically i get error in console:

(click to show/hide)

My code:

(click to show/hide)

Please, tell me where my mistake. And sorry for my bad english.

Pages: [1]
anything