From c5c900defbfa8bc26acdaf97b582c05d08049c20 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 6 Oct 2013 10:11:12 +0200 Subject: [PATCH] Fix small copy-paste typo in ossaudiodev setparameters() example (found by Ken Housley on docs@). --- Doc/library/ossaudiodev.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/ossaudiodev.rst b/Doc/library/ossaudiodev.rst index c5404deb9c7..1a65d246a8c 100644 --- a/Doc/library/ossaudiodev.rst +++ b/Doc/library/ossaudiodev.rst @@ -296,7 +296,7 @@ simple calculations. fmt = dsp.setfmt(fmt) channels = dsp.channels(channels) - rate = dsp.rate(channels) + rate = dsp.rate(rate) .. method:: oss_audio_device.bufsize()