开发者

Titanium How to Play the Sound in Loud Speaker after Recording

I am using sound_record.js file from Appcelarator KitchenSink, But I am not getting how we can play the sound in Loud Speaker after Recording is Finishe开发者_如何学Cd.

I have used following code,

if (Titanium.Media.audioPlaying) {
    Titanium.Media.audioSessionMode = Ti.Media.AUDIO_SESSION_MODE_AMBIENT;
}else{
    Titanium.Media.audioSessionMode = Ti.Media.AUDIO_SESSION_MODE_PLAY_AND_RECORD;
}

But I am not able to play the recorded file in Loud Speaker.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜