Browse Source

go bindings: rename example functions to fix go vet warnindgs

tags/5.1.0
Serge A. Zaitsev 7 years ago
parent
commit
7b7b350faa
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      rtaudio_test.go

+ 2
- 2
rtaudio_test.go View File

@@ -13,7 +13,7 @@ func ExampleCompiledAPI() {
}
}

func ExampleListDevices() {
func ExampleRtAudio_Devices() {
audio, err := Create(APIUnspecified)
if err != nil {
log.Fatal(err)
@@ -28,7 +28,7 @@ func ExampleListDevices() {
}
}

func ExamplePlaySine() {
func ExampleRtAudio_Open() {
const (
sampleRate = 44100
bufSz = 512


Loading…
Cancel
Save