Files
wehub-resource-sync ead81af521
Deploy to GitHub Pages / deploy (push) Failing after 0s
CI / go (push) Has been cancelled
CI / build (darwin, macos-14) (push) Has been cancelled
CI / build (windows, windows-2025) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:31:13 +08:00

12 lines
304 B
Go

// player/device_other.go — stub for non-macOS platforms.
//go:build !darwin || ios || !cgo
package player
// DeviceSampleRate returns 0 on platforms where device detection is not
// implemented. Callers should fall back to a sensible default (e.g. 44100).
func DeviceSampleRate() int {
return 0
}