Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions FineTune/Audio/Extensions/AudioDeviceID+Classification.swift
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,17 @@ nonisolated extension AudioDeviceID {
// MARK: - AutoEQ Eligibility

extension AudioDeviceID {
/// Returns `true` if this device is likely headphones and can benefit from AutoEQ correction.
/// Returns `true` when FineTune should expose AutoEQ correction controls for this device.
/// HDMI, DisplayPort, AirPlay, virtual, and known speaker-only devices return `false`.
/// Built-in devices delegate to `builtInHasHeadphonesActive()` for headphone jack detection.
/// Built-in audio is allowed so Mac speakers and built-in jack headphones can be corrected.
func supportsAutoEQ() -> Bool {
let transport = readTransportType()

switch transport {
case .hdmi, .displayPort, .airPlay, .virtual:
return false
case .builtIn:
return builtInHasHeadphonesActive()
return true
default:
break
}
Expand Down