mirror of https://github.com/miguelmota/cointop
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
365 B
Go
16 lines
365 B
Go
3 years ago
|
// +build !linux,!freebsd,!netbsd,!openbsd,!windows,!darwin,!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
|
||
|
}
|