File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
src/vs/platform/audioCues/browser Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,6 @@ import { Event } from 'vs/base/common/event';
1212import { localize } from 'vs/nls' ;
1313import { observableFromEvent , derived } from 'vs/base/common/observable' ;
1414
15- export const enum AudioCueGroupId {
16- chatResponseReceived = 'chatResponseReceived'
17- }
18-
1915export const IAudioCueService = createDecorator < IAudioCueService > ( 'audioCue' ) ;
2016
2117export interface IAudioCueService {
@@ -112,9 +108,7 @@ export class AudioCueService extends Disposable implements IAudioCueService {
112108 }
113109 } ;
114110 playSound ( ) ;
115- return toDisposable ( ( ) => {
116- playing = false ;
117- } ) ;
111+ return toDisposable ( ( ) => playing = false ) ;
118112 }
119113
120114 private readonly obsoleteAudioCuesEnabled = observableFromEvent (
@@ -231,6 +225,10 @@ export class Sound {
231225 private constructor ( public readonly fileName : string ) { }
232226}
233227
228+ export const enum AudioCueGroupId {
229+ chatResponseReceived = 'chatResponseReceived'
230+ }
231+
234232export class AudioCue {
235233 private static _audioCues = new Set < AudioCue > ( ) ;
236234 private static register ( options : {
You can’t perform that action at this time.
0 commit comments