Skip to content

Commit 731f3e7

Browse files
committed
released version v0.2.0
1 parent b32981a commit 731f3e7

15 files changed

Lines changed: 116 additions & 408 deletions

File tree

native/app/Source/Application.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,8 @@ class Application {
194194
}
195195
}
196196

197+
static var ignoreNextVolumeEvent = false
198+
197199
private static func setupDeviceEvents () {
198200
AudioDeviceEvents.on(.outputChanged) { device in
199201
if device.isHardware {
@@ -218,7 +220,7 @@ class Application {
218220
}
219221
}
220222
AudioDeviceEvents.on(.muteChanged, onDevice: Driver.device!) {
221-
selectedDevice.mute = Driver.device!.mute
223+
Application.dispatchAction(VolumeAction.setMuted(Driver.device!.mute))
222224
}
223225

224226
AudioDeviceEvents.onDeviceListChanged { list in
@@ -390,9 +392,7 @@ class Application {
390392
Application.dispatchAction(VolumeAction.setGain(newGain, false))
391393
}
392394
}
393-
394-
static var ignoreNextVolumeEvent = false
395-
395+
396396
private static func killEngine () {
397397
engine = nil
398398
}

native/app/Source/Audio/Outputs/AUGraphOutput.swift

Lines changed: 0 additions & 359 deletions
This file was deleted.

0 commit comments

Comments
 (0)