go bindings: rename example functions to fix go vet warnindgs
authorSerge A. Zaitsev <zaitsev.serge@gmail.com>
Tue, 3 Oct 2017 09:10:14 +0000 (12:10 +0300)
committerSerge A. Zaitsev <zaitsev.serge@gmail.com>
Tue, 3 Oct 2017 09:10:14 +0000 (12:10 +0300)
rtaudio_test.go

index 591ed9aca10bd4ea8fc9ac4c75378cbbab5bb4dc..32475cfe1ea87264bfddf3eb698d4c3ccbbcd11e 100644 (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