mirror of
https://github.com/make-42/hayai.git
synced 2025-01-18 18:47:10 +01:00
17 lines
469 B
Go
17 lines
469 B
Go
//go:build !linux && !freebsd && !netbsd && !openbsd && !windows && !darwin && !illumos && !js
|
|
// +build !linux,!freebsd,!netbsd,!openbsd,!windows,!darwin,!illumos,!js
|
|
|
|
package beeep
|
|
|
|
var (
|
|
// DefaultFreq - frequency, in Hz, middle A
|
|
DefaultFreq = 0.0
|
|
// DefaultDuration - duration in milliseconds
|
|
DefaultDuration = 0
|
|
)
|
|
|
|
// Beep beeps the PC speaker (https://en.wikipedia.org/wiki/PC_speaker).
|
|
func Beep(freq float64, duration int) error {
|
|
return ErrUnsupported
|
|
}
|