Skip to content

Commit 5fe4218

Browse files
committed
cleanup
1 parent 9ea91c7 commit 5fe4218

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/vs/platform/audioCues/browser/audioCueService.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ import { Event } from 'vs/base/common/event';
1212
import { localize } from 'vs/nls';
1313
import { observableFromEvent, derived } from 'vs/base/common/observable';
1414

15-
export const enum AudioCueGroupId {
16-
chatResponseReceived = 'chatResponseReceived'
17-
}
18-
1915
export const IAudioCueService = createDecorator<IAudioCueService>('audioCue');
2016

2117
export 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+
234232
export class AudioCue {
235233
private static _audioCues = new Set<AudioCue>();
236234
private static register(options: {

0 commit comments

Comments
 (0)