Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6122] Android: Sound - Static/noise heard before the start of a sound playing the first time

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2017-07-10T22:21:26.000+0000
Affected Version/sRelease 1.7.2
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterPatrick Seda
AssigneeIngo Muschenetz
Created2011-11-08T13:47:41.000+0000
Updated2017-07-10T22:21:26.000+0000

Description

The first time a sound file (mp4) is played, there will be noise in the form of static/crackle/pop before the actual sound file is played. This behavior seems to be related to these specific Samsung devices, although it is intermittent without 100% occurrence. To reproduce:

Create a new Mobile project.

Place the attached 205048_low.mp4 file in the Resources directory.

Replace the app.js with the following code.

Load the built app onto a device.

Press the "Play" button to start the sound; *the sound problem should occur now*.

Once the sound has been played once, kill the app and restart to test again.

var win = Ti.UI.createWindow({});
var sound = Ti.Media.createSound({url:'205048_low.mp4'});
var button = Ti.UI.createButton({title:'Play', width:100, height:100, top:100});
button.addEventListener('click', function() {sound.play();});
win.add(button);
win.open();

Associated Helpdesk Ticket

http://appc.me/c/APP-954677

Attachments

FileDateSize
205048_low.mp42011-11-08T13:47:41.000+00003877

Comments

  1. Lee Morris 2017-07-10

    Closing ticket due to time passed and lack of progress for a number of years. Please open a new ticket if there are any problems.

JSON Source