]> granicus.if.org Git - python/commitdiff
Fix small copy-paste typo in ossaudiodev setparameters() example (found by Ken Housle...
authorGeorg Brandl <georg@python.org>
Sun, 6 Oct 2013 08:11:12 +0000 (10:11 +0200)
committerGeorg Brandl <georg@python.org>
Sun, 6 Oct 2013 08:11:12 +0000 (10:11 +0200)
Doc/library/ossaudiodev.rst

index c5404deb9c792f5072a7d957d840e133a65a2c59..1a65d246a8c1fe4e97004c8302f3d076d85cae9a 100644 (file)
@@ -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()