Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Windows Phone 8 *.ogg files audio problem
Started by androidjavalex Feb 05 2016 03:21 AM

2 replies to this topic
windows phone 8 *.ogg *.ogg
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

androidjavalex

[GLOBAL: userInfoPane.html]
androidjavalex
  • Observer

  • 9 posts
  • Corona SDK

Hi,

 

In Corona Cards documentation write audio support only .wav and .ogg files, but .ogg dont working in my app, .wav support/work and all fine.

I use Corona Cards v 2015.2731, you can try sample \Corona Labs\Corona SDK\Sample Code\Media\AudioPlayer and .ogg dont working in this case. I try different bitrate for ogg and all unsecsessfull.

 

Please help, what bitrate for ogg are you using and tell me ogg files work on your app?

 

 

 

 

 



[TOPIC: post.html]
#2

Joshua Quick

[GLOBAL: userInfoPane.html]
Joshua Quick
  • Moderator

  • 3,397 posts
  • Corona Staff

I'm thinking that you forgot to flag your *.ogg files' "Build Action" as "Content" in Visual Studio.  This tells Visual Studio to bundle those files within your compiled *.xap file.  Have a look at the following documentation on how to do so here...

   https://docs.coronalabs.com/daily/coronacards/wp8/portapp.html#copying-project-files



[TOPIC: post.html]
#3

androidjavalex

[GLOBAL: userInfoPane.html]
androidjavalex
  • Observer

  • 9 posts
  • Corona SDK

Thank you, I really forgot "Build Action" as "Content". Now all fine and work perfect.




[topic_controls]
[/topic_controls]