Skip to content

Commit 7579888

Browse files
Update Mac Sample Rate
Update Mac Sample Rate
2 parents 858da7e + 1209c05 commit 7579888

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cookbook/Cookbook/CookbookApp.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ struct CookbookApp: App {
2020
}
2121
}
2222
if #available(macOS 15.0, *) {
23-
// Set samplerRate for macOS 15 and newer
24-
Settings.sampleRate = 48_000
23+
// Set samplerRate for macOS 15 and newer (reverted back to 44_100)
24+
Settings.sampleRate = 44_100
2525
}
2626

2727
try AVAudioSession.sharedInstance().setPreferredIOBufferDuration(Settings.bufferLength.duration)

0 commit comments

Comments
 (0)