Bug 833517 - to clear the ended timer after setting a new audio source. ...

...r=Dominic

See https://bugzilla.mozilla.org/show_bug.cgi?id=833517 for details.