Play only one audio file at a time
Fixes https://github.com/vector-im/element-web/issues/17439
This commit is contained in:
@@ -132,6 +132,10 @@ export class PlaybackClock implements IDestroyable {
|
||||
|
||||
public flagStop() {
|
||||
this.stopped = true;
|
||||
|
||||
// Reset the clock time now so that the update going out will trigger components
|
||||
// to check their seek/position information (alongside the clock).
|
||||
this.clipStart = this.context.currentTime;
|
||||
}
|
||||
|
||||
public syncTo(contextTime: number, clipTime: number) {
|
||||
|
||||
Reference in New Issue
Block a user