diff options
| author | Serge A. Zaitsev <zaitsev.serge@gmail.com> | 2017-10-03 12:10:14 +0300 |
|---|---|---|
| committer | Serge A. Zaitsev <zaitsev.serge@gmail.com> | 2017-10-03 12:10:14 +0300 |
| commit | 7b7b350faaf3294deb0e58e4f769ebab567201dd (patch) | |
| tree | be2a83f703a1489b0924ba50c32ede60008f8a42 | |
| parent | 3f409fbabf90185e4b2a0d562f00145a7c12275a (diff) | |
go bindings: rename example functions to fix go vet warnindgs
| -rw-r--r-- | rtaudio_test.go | 4 |
1 files 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 |
