Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2599] iOS: SDK 1.5.0 AudioPlayer event 'change' does not work

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2012-01-03T16:02:51.000+0000
Affected Version/sn/a
Fix Version/sSprint 2011-45, Release 1.8.0
ComponentsiOS
Labelsmodule_media, qe-testadded
ReporterAee Q
AssigneeReggie Seagraves
Created2011-04-15T03:24:03.000+0000
Updated2012-01-03T16:02:51.000+0000

Description

createAudioPlayer event change does not work in 1.5.0, the state in change can not be triggered. which was ok in 1.4.2

var streamer = Ti.Media.createAudioPlayer();
streamer.addEventListener('change',function(e)
{ stateLabel.text = 'State: '+e.state+')'; }

no change fired any more

Comments

  1. Scott Robinson 2011-04-15

    I can also duplicate this issue! Works fine in 1.4.2. It seems the onchange event listener isn't firing as ive stuck an alert in the onchange event and it dosent show. No fix in the latest github build (1.6.0)

  2. Gerry Cardinal III 2011-04-15

    I do not believe that this is an issue anymore. It works fine in edge versions of Titanium (1.7.x) currently.

  3. Reggie Seagraves 2011-11-07

    Fixed in a previous checkin. Also related to or duplicate of 2135.
  4. Eric Merriman 2011-12-06

    QE note: This bug and timob2135 can be covered with a single test app.
  5. Eric Merriman 2011-12-06

    Verified no longer occurs with SDK 1.8.0.1.v20111205164258 using Titanium Studio, build: 1.0.7.201112052104 on iPad 2 (4.3.5), iPhone 4s (5.01), iPod touch 3rd gen (4.0.2). State returns values and e.description returns strings.
  6. Michael Pettiford 2012-01-03

    Reopening/closing to add labels
  7. Michael Pettiford 2012-01-03

    Note this test is covered by TIMOB-2135

JSON Source