Skip to content

Commit bdb005c

Browse files
committed
add: logs #55
1 parent fb9108c commit bdb005c

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

engine/src/main/java/app/simple/felicity/engine/services/FelicityPlayerService.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,11 @@ class FelicityPlayerService : MediaLibraryService(), SharedPreferences.OnSharedP
734734

735735
val usbDevice = currentOutputDevice ?: return
736736
if (usbDevice.type != AudioDeviceInfo.TYPE_USB_DEVICE &&
737-
usbDevice.type != AudioDeviceInfo.TYPE_USB_HEADSET) return
737+
usbDevice.type != AudioDeviceInfo.TYPE_USB_HEADSET) {
738+
739+
Log.d(TAG, "Active output device '${usbDevice.productName}' is not USB, skipping bit-perfect mixer configuration.")
740+
return
741+
}
738742

739743
try {
740744
val audioManager = getSystemService(AUDIO_SERVICE) as AudioManager

0 commit comments

Comments
 (0)