mirror of
https://github.com/chuot/rdio-scanner.git
synced 2026-08-13 16:33:01 -06:00
Load an empty audio file to stop the audio stream so that the audio icon disappears on some mobile devices
This commit is contained in:
parent
e18b6302ac
commit
8a80d0f2c6
|
|
@ -240,9 +240,7 @@ export class AppRadioService implements OnDestroy {
|
|||
|
||||
stop(): void {
|
||||
if (this._call.current) {
|
||||
this._audio.pause();
|
||||
// this._audio.src = null;
|
||||
// this._audio.load();
|
||||
this._audio.src = 'data:audio/aac;base64,//FsQAOf/N4CAExhdmM1OC4zNS4xMDAAAjBADv/xbEADn/zeAgBMYXZjNTguMzUuMTAwAAIwQA4=';
|
||||
|
||||
this._call.previous = this._call.current;
|
||||
this._call.current = null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue