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';
12
12
import { localize } from 'vs/nls' ;
13
13
import { observableFromEvent , derived } from 'vs/base/common/observable' ;
14
14
15
- export const enum AudioCueGroupId {
16
- chatResponseReceived = 'chatResponseReceived'
17
- }
18
-
19
15
export const IAudioCueService = createDecorator < IAudioCueService > ( 'audioCue' ) ;
20
16
21
17
export interface IAudioCueService {
@@ -112,9 +108,7 @@ export class AudioCueService extends Disposable implements IAudioCueService {
112
108
}
113
109
} ;
114
110
playSound ( ) ;
115
- return toDisposable ( ( ) => {
116
- playing = false ;
117
- } ) ;
111
+ return toDisposable ( ( ) => playing = false ) ;
118
112
}
119
113
120
114
private readonly obsoleteAudioCuesEnabled = observableFromEvent (
@@ -231,6 +225,10 @@ export class Sound {
231
225
private constructor ( public readonly fileName : string ) { }
232
226
}
233
227
228
+ export const enum AudioCueGroupId {
229
+ chatResponseReceived = 'chatResponseReceived'
230
+ }
231
+
234
232
export class AudioCue {
235
233
private static _audioCues = new Set < AudioCue > ( ) ;
236
234
private static register ( options : {
You can’t perform that action at this time.
0 commit comments