Hi,
What kind of Mpeg Audio files does Hollywood currently support? Every MP3 I have thrown at it just results in IsMusic() returning Unknown. :S
MP3s
MP3s
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
http://myevolve.wordpress.com
- Juan Carlos
- Posts: 932
- Joined: Mon Sep 06, 2010 1:02 pm
Re: MP3s
Good question, this problem I found it when I wrote my Sirena Player, this instruction doesn't work as it must work.
- airsoftsoftwair
- Posts: 5834
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: MP3s
@djrikki: I need more specific infos. On what platform does this error occur? Note that AROS currently doesn't support MP3 playback. On all the other platforms it should work but you need mpega.library.
Re: MP3s
AmigaOS 4.1, mpega.library v 2.4.
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
http://myevolve.wordpress.com
Re: MP3s
Since you did not supply any sample code that is failing, please try this:
---
f$=FileRequest("Select an MP3", "mp3")
ret, fmt$ = IsMusic(f$)
If ret=True
DebugPrint("Yes, this is a supported music file.")
Else
DebugPrint("No, this is NOT a supported music file.")
EndIf
DebugPrint("The format of this music file is: \""..fmt$.."\"")
---
What kind of output does this code give you (assuming you are choosing an .mp3 file)?
---
f$=FileRequest("Select an MP3", "mp3")
ret, fmt$ = IsMusic(f$)
If ret=True
DebugPrint("Yes, this is a supported music file.")
Else
DebugPrint("No, this is NOT a supported music file.")
EndIf
DebugPrint("The format of this music file is: \""..fmt$.."\"")
---
What kind of output does this code give you (assuming you are choosing an .mp3 file)?