Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-24920] (6_2_X) Android: Allow selecting different stream-types in Ti.Media.Sound #9306

Merged
merged 7 commits into from Aug 15, 2017

Conversation

hansemannn
Copy link
Collaborator

@lokeshchdhry
Copy link
Contributor

FR Passed.

Different media streams types are selected successfully according to value specified for the audioType.

var player = Ti.Media.createSound({
	url:"sound.wav",
	audioType: Titanium.Media.Sound.AUDIO_TYPE_ALARM // Can have values AUDIO_TYPE_SIGNALLING, AUDIO_TYPE_MEDIA, AUDIO_TYPE_NOTIFICATION, AUDIO_TYPE_RING
});

player.play();

Studio Ver: 4.9.1.201707200100
SDK Ver: 6.2.0 local build
OS Ver: 10.12.3
Xcode Ver: Xcode 8.3.3
Appc NPM: 4.2.9
Appc CLI: 6.2.3
Ti CLI Ver: 5.0.14
Alloy Ver: 1.9.13
Node Ver: 6.10.1
Java Ver: 1.8.0_101
Devices: ⇨ motorola XT1033 --- Android 4.4.4
⇨ google Pixel --- Android 7.1.1

@lokeshchdhry lokeshchdhry merged commit b4466a5 into tidev:6_2_X Aug 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants