Thursday, June 23, 2022
HomeGame DevelopmentLog messages errors with AudioEngine::play2d? - cocos2d-x

Log messages errors with AudioEngine::play2d? – cocos2d-x


Whats up,
I’m enjoying a sound by doing this when urgent a key

AudioEngine::play2d(PLAYER_LASERSHOT_FX, false, 1);

The place PLAYER_LASERSHOT_FX is a continuing path. The sounds performs fantastic however the factor is that I get this message within the log when I’m in debug mode on visible studio.

I/AudioEngine-Win32 (166): OpenAL was initialized efficiently!
V/AudioCache (70): AudioCache() 007DD8BC, id=1
V/AudioCache (128): readDataTask start, cache id=1
V/AudioCache (241): pcm buffer was loaded efficiently, complete frames: 40750, complete learn frames: 40750, modify frames: 0, remainingFrames: 0
V/AudioPlayer (142): AudioPlayer::play2d, _alSource: 1, participant id=1
V/AudioCache (293): readDataTask finish, cache id=1
V/AudioPlayer (64): ~AudioPlayer() (0A0563F0), id=1
V/AudioPlayer (78): AudioPlayer::destroy start, id=1
V/AudioPlayer (123): Earlier than alSourceStop
V/AudioPlayer (125): Earlier than alSourcei
V/AudioPlayer (131): AudioPlayer::destroy finish, id=1

Is that standard? Can somebody clarify what that’s in case I’m doing one thing improper the way in which a play sounds? In launch mode in visible studio this logs don’t present.

Thanks


RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments