Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / ios agk2 player sound problem

Author
Message
Preben
AGK Studio Developer
20
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 31st Jan 2015 16:24
Hi,

I compiled the ios agk2 player for ios , and put it on my ipad.

But there is no sound or music in my apps when i test ?

( everything else is working ).

Does anyone know what the problem is ?

Please help , thanks.

best regards Preben Eriksen,
Preben
AGK Studio Developer
20
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 1st Feb 2015 18:30
Tried everything and i cant get the music and sound to work on ipad ?

Im using the mac ide to generate the agk player .ipa , and i install it without any problems, everything is working , but there is just not any sound or music when i broadcast my games ?

Anyone else got this problem ?

best regards Preben Eriksen,
Muckypaws
AGK Developer
13
Years of Service
User Offline
Joined: 21st Oct 2011
Location:
Posted: 1st Feb 2015 18:40
Hi Preben,

I am using AppGameKit 2.0.10 and have no issues with sound with MP3's encoded when using play music.

However for PlaySound I have to use WAV files (not MP3).

Kind Regards
Jason

https://www.facebook.com/WonkyPix
http://www.wonkypix.com
http://www.appstore.com/jsecconsultancyltd
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 1st Feb 2015 22:35
Does the app play correctly on the Mac with sounds and music?

Check the case of the file names for the actual files and the text you use in your code. Android is case sensitive and I think iOS and OSX are as well.

You should also not have any spaces in your directory or file names (technically okay in some cases, but can cause problems in others).

Windows is sloppy and doesn't care about letter case in files and directories. And it is fine with spaces in the names.

Cheers,
Ancient Lady
JimHawkins
15
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 1st Feb 2015 23:33
Look for mediascan in the forum and try the program I wrote to check all your media files.

Onwards and sometimes upwards
Preben
AGK Studio Developer
20
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 2nd Feb 2015 09:37
The media and filenames are all ok, and i still have this problem.

Actually im using a remote mac to compile, macincloud.com , so perhaps that's the problem ? , i don't think that it have any physical sound hardware.

All the ipa that it generates has no sound or music support both wav and mp3 dont work.

Im kind of stuck here , i think that the problem must be that it compiles on a mac that has no sound hardware , and for some reason don't include sound support in the ipa's ?

Anyone tried to use a remote mac to generate the ipa's ?

best regards Preben Eriksen,
SpecTre
Developer
21
Years of Service
User Offline
Joined: 24th Feb 2003
Location: UK
Posted: 16th Feb 2015 11:54
I had problem with some of my sound wav files where only one worked and when I looked the extension of the file was upper case and not lower as I was reading them in, only one file was lower case, took me a week to realise as windows doesn't show the extension and it was only by chance when I looked at the files in Linux I found out the problem.

Eg.
sound1.WAV
sound2.WAV
sound3.wav

Programming - AMOS on the AMIGA! / DBPro / Python / A bit of C C++ / now also AGK2! - Graphics - Deluxe Paint on the Amiga / Paintshop Pro / Photoshop / Lightroom / Grafx2
Previously worked for Prisma Software producing childrens educational software on the Amiga - Titles - Pepe's Garden - Paint Pot / Kids Academy range - Paint Pot II / Shopping Basket / Which Where What? / Blobs / Alvin's Puzzles
JimHawkins
15
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 16th Feb 2015 13:33
Use my MediaScan tool....

Should be in the tools area, but isn't.

Onwards and sometimes upwards
SpecTre
Developer
21
Years of Service
User Offline
Joined: 24th Feb 2003
Location: UK
Posted: 16th Feb 2015 13:59
Hey Jim, I will get that sounds useful.
That will be another tool created by yourself in the AppGameKit developement folder of mine

Programming - AMOS on the AMIGA! / DBPro / Python / A bit of C C++ / now also AGK2! - Graphics - Deluxe Paint on the Amiga / Paintshop Pro / Photoshop / Lightroom / Grafx2
Previously worked for Prisma Software producing childrens educational software on the Amiga - Titles - Pepe's Garden - Paint Pot / Kids Academy range - Paint Pot II / Shopping Basket / Which Where What? / Blobs / Alvin's Puzzles
JimHawkins
15
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 16th Feb 2015 14:29
I have asked for it to be put in the download area. It does solve a lot of repetitive problems, such as case sensitive names and incorrect WAV formats.

Just one of the attempts to help from the AppGameKit Pascal community.

Onwards and sometimes upwards
Preben
AGK Studio Developer
20
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 20th Feb 2015 15:15
Hi all,

I purchased a mac mini , and compiled from the ide, and everything was fine , so i still think the problem was the "remote mac" i rented. perhaps a bad xcode install or something , it came with everything installed, actually it had 3 different versions of xcode , so perhaps that was the problem ? Anyway getting a mac mini and doing my own xcode install solved everything

best regards Preben Eriksen,

Login to post a reply

Server time is: 2024-11-25 17:44:56
Your offset time is: 2024-11-25 17:44:56