No music on iphone (SOLVED!)

Previous topic - Next topic

ampos

Code (glbasic) Select
//TEST

SETCURRENTDIR("Media") // seperate media and binaries?
SETSCREEN 480,320,0
LOADFONT "smalfont.png",0
PLAYMUSIC "Kak.ogg",0
a$=GETLASTERROR$()
LIMITFPS 60

WHILE TRUE
        DRAWRECT 470,310,20,20,RGB(255,0,0)
        PRINT GETJOYNAME$(0), 0, 0 // Name of Device
        PRINT " X:"+INTEGER(100*GETJOYX(0)),0,24
        PRINT " Y:"+INTEGER(100*GETJOYY(0)),0,48
        PRINT " Z:"+INTEGER(100*GETJOYZ(0)),0,72
        PRINT " 0:"+GETJOYBUTTON(0,0)+" 1:"+GETJOYBUTTON(0,1)+" 2:"+GETJOYBUTTON(0,2),0,96
        PRINT "RX:"+INTEGER(100*GETJOYRX(0)),0,24+96
        PRINT "RY:"+INTEGER(100*GETJOYRY(0)),0,48+96
        PRINT "RZ:"+INTEGER(100*GETJOYRZ(0)),0,72+96
        PRINT "ER:"+a$,0,224
    SHOWSCREEN
WEND


This simple program does not play music on iPhone 4.1 or iPad 3.2.1. Not tested on other devices (yet). Also "getlasterror$()" always return OK, even if I change the filename to load.

You can download the ogg file here:

http://www.ampostata.org/Krakout+/Test.rar

(ipa file included for JB iphones)

MrTAToad

Hopefully someone will try this out - unfortunately its not something I can do...

ampos

SOLVED!!!

I renamed a .m4r sound I used as ringtone as "Kak.ogg", removed the one in the telephone and used this. Now it has music.

USE .M4R SOUND FILES AS MUSIC ON IPHONE!

(will make more test late tonite)

ampos

More tests:

I created a file with NERO WAVE in .mp4 format. It also works.