Hi Ahmed,

Not sure which way you are using the audio in your game, please refer to:

https://crosswalk-project.org/jira/browse/XWALK-7307 AudioContext 
decodeAudioData() does not work on Crosswalk 19 upwards
https://crosswalk-project.org/jira/browse/XWALK-6874 Audio Playback not working 
with --enable-unified-media-pipeline flag

We’ve fixed some audio issues in Crosswalk 23 beta, please try:

          <preference name="xwalkVersion" 
value="org.xwalk:xwalk_core_library_beta:23+" />
BR
Belem

From: Crosswalk-help 
[mailto:crosswalk-help-boun...@lists.crosswalk-project.org] On Behalf Of Ahmed 
Abdelsamea
Sent: Wednesday, January 4, 2017 8:49 AM
To: crosswalk-help@lists.crosswalk-project.org
Subject: [Crosswalk-help] sound is not playing on android only

Hello Everyone,
I am Ahmed Khalifa, an indie game developer. I am working on my game C-Square 
using Phaser but I have problems with compiling the android version using 
cordova with crosswalk plugin.
I compiled my game using cordova and it is working fine but some devices were 
having performance issues so I decided using crosswalk now everything is super 
fast but no audio in the whole game. The game works perfectly on iOS.
The sound files are mp3 files (32-bit float, Stereo, 44100Hz)
here are the parameters using for crosswalk

<plugin name="cordova-plugin-crosswalk-webview" spec="~2.2.0”>
<variable name="XWALK_VERSION" value="22+" />
<variable name="XWALK_LITEVERSION" value="xwalk_core_library_canary:17+" />
<variable name="XWALK_MODE" value="embedded" />
<variable name="XWALK_MULTIPLEAPK" value="true" />
</plugin>
<preference name="xwalkCommandLine" value="--ignore-gpu-blacklist" />


Any help is appreciated as I have been stuck in this problem for more than a 
week.

Thanks
Ahmed Khalifa
_______________________________________________
Crosswalk-help mailing list
Crosswalk-help@lists.crosswalk-project.org
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to