Go-based FM stereo transmitter with RDS, Windows-first and cross-platform
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- package audio
-
- import "testing"
-
- func TestToneSourceNextFrame(t *testing.T) {
- src := NewToneSource(48000)
- a := src.NextFrame()
- b := src.NextFrame()
- if a == b {
- t.Fatal("expected varying frames")
- }
- }
|