diff --git a/src/announcement-data/AnnouncementSystem.ts b/src/announcement-data/AnnouncementSystem.ts index e5f92f5e5..d5b7bd374 100644 --- a/src/announcement-data/AnnouncementSystem.ts +++ b/src/announcement-data/AnnouncementSystem.ts @@ -202,7 +202,7 @@ export default abstract class AnnouncementSystem { return new Promise(resolve => { crunker.play(audio, source => { console.log('[Crunker] About to play audio...') - crunker._context.onstatechange = () => console.log('state changed to: ', audioContext.state) + crunker._context.onstatechange = a => console.log('state changed:', a) console.log('Context state: ', crunker._context.state) if (crunker._context.state === 'suspended') {