]> 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 300270001d8fb4d6219b488825f458e385eabfea..4a0c3a341f4cd81d0849516aa2377e8b510ac0e1 100644 (file)
@@ -302,7 +302,7 @@ simple calculations.
 
       fmt = dsp.setfmt(fmt)
       channels = dsp.channels(channels)
-      rate = dsp.rate(channels)
+      rate = dsp.rate(rate)
 
 
 .. method:: oss_audio_device.bufsize()