From 7b7b350faaf3294deb0e58e4f769ebab567201dd Mon Sep 17 00:00:00 2001 From: "Serge A. Zaitsev" Date: Tue, 3 Oct 2017 12:10:14 +0300 Subject: go bindings: rename example functions to fix go vet warnindgs --- rtaudio_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtaudio_test.go b/rtaudio_test.go index 591ed9a..32475cf 100644 --- a/rtaudio_test.go +++ b/rtaudio_test.go @@ -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 -- cgit v1.2.3