New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pitch 7platforms #3010
Pitch 7platforms #3010
Conversation
I will include support for pitch/pan/gain in win32 refactoring |
Thanks. Also check that in win32 OpenAL backend rewindBackgroundMusic() will not stop music, this function should just return player to music start. |
Yes, I fixed rewindBackgroundMusic() yet a little different than the linux approach: This is what you have:
This is what I've implemented:
The difference is that I can rewind also when paused, but I had to change resumeBackgroundMusic method to also resume initial state. This means even if you have not started the background music play you can resume it. Which approach should I consider? |
Your approach is better. But maybe |
A bit hard to say where is problem, but I'll try to fix build tomorrow. |
1. Pitch/pan/gain support on iOS, Mac, Linux+FMOD, Android+SoundPool; 2. Unified OpenAL code with pitch/pan/gain on Linux, Tizen, Blackberry, Native Client; 3. Bug fixed: rewindBackgroundMusic() no longer stops music on unified OpenAL engine. 4. Optional mp3 support for Linux+OpenAL (OPENAL_MP3 make option); 5. Pan/gain (not pitch) support for Android+OpenES. 6. Reorganized CocosDenshion tests in TestCpp. Known issues: 1. No support for windows, emscrippten, marmalade. 2. No pitch effect on Android+OpenES. It requires backend redesign: http://code.google.com/p/android/issues/detail?id=24592
rewindBackgroundMusic to work with paused music.
this looks like a nice feature. @minggo @dumganhar |
Thanks @sergey-shambir. @ricardoquesada |
Oops... I've made wrong update, will fix it soon. UPD: fixed |
@sergey-shambir |
Yes, I've removed it with "push origin -f" |
Thanks @sergey-shambir, the test looks great. |
Should work on NaCL and Blackberry, but I didn't tested. Tested on android, linux, tizen emulator; implementations for iOS/OSX are trivial and used in our cocos2d-x tweak, but I didn't tested TestCpp separately.
About unsupported features: