Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Sound and formats
Started by chadscc Nov 12 2009 09:08 AM

- - - - -
1 reply to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

chadscc

[GLOBAL: userInfoPane.html]
chadscc
  • Enthusiast

  • 44 posts
  • Guests

I've noticed that you can use all sorts of sound files (such as mp3) as long as you use media.playSound( "FILE.mp3" ). If you use media.playEventSound( "FILE.mp3" ) it will not work.
uid: 3396 topic_id: 234 reply_id: 300234


[TOPIC: post.html]
#2

carlos m. icaza

[GLOBAL: userInfoPane.html]
carlos m. icaza
  • Corona Geek

  • 2,992 posts
  • Alumni

Yes. Event sounds behave different and are usually 3 seconds or less. Low memory overhead. For MP3 and others, you need .playSound as it allocates more memory based on the format.

Carlos
uid: 24 topic_id: 234 reply_id: 297



[topic_controls]
[/topic_controls]