Closed rpmobile closed 10 years ago
I built one of our production games on Android using the latest source and it played sound just fine. What platform are you using? the sounds in Angry Ninjas are recorded as stereo, which may be a problem too.
Sorry, should have clarified that this is iOS. I built from scratch, and no sound is working on any of the tests (CocosDension) or AngryNinjas.
All the sounds were working fine earlier this week, so it seems like something that cropped up with the last commit.
I did a full rebuild and re-install of Santa Shooter on an iPad 2. The sound worked fine.
Are you building sound using the MonoGame content builder? We use raw sound files - wav files - in SS. I suggest using raw sound files for your games.
After some digging, it looks like several issues:
I was not building sound with the content builder. It seems that I need a PC and Visual Studio for that. Will dust off my other machine and try to get that resolved.
Thanks for your help!
You can use the MonoGame content builder project to build content on the Mac. You do it via contentproject project files and the command line tool. From what I know, it works, but I have not used it yet. I still use XNA Studio 4r1 and a custom iOS build handler that Ray Batts wrote a year ago.
The Mic/Sound hardware problem you experienced is well known in the openGL world of MonoGame. Any time openAL can't get the hardware for sound playback it does strange things.
Ah, ok. Thanks a lot! Very helpful.
Grabbed latest commits (f541aa29c0). Ran tests project. Trying to play anything with CocosDension results in:
AngryNinjas is broken in the same way, but I see more debug statements: