summaryrefslogtreecommitdiffstats
path: root/Doc/library/ossaudiodev.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-10-06 08:11:12 (GMT)
committerGeorg Brandl <georg@python.org>2013-10-06 08:11:12 (GMT)
commit58d58dad56caa0eb619b96c44d808eedc3a7673f (patch)
tree65ecc932fc0a2cd741906601a1fb03a93a178130 /Doc/library/ossaudiodev.rst
parentdbab26a8c9e95bef163d06443995aea852d9a99d (diff)
downloadcpython-58d58dad56caa0eb619b96c44d808eedc3a7673f.zip
cpython-58d58dad56caa0eb619b96c44d808eedc3a7673f.tar.gz
cpython-58d58dad56caa0eb619b96c44d808eedc3a7673f.tar.bz2
Fix small copy-paste typo in ossaudiodev setparameters() example (found by Ken Housley on docs@).
Diffstat (limited to 'Doc/library/ossaudiodev.rst')
-rw-r--r--Doc/library/ossaudiodev.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/ossaudiodev.rst b/Doc/library/ossaudiodev.rst
index 3002700..4a0c3a3 100644
--- a/Doc/library/ossaudiodev.rst
+++ b/Doc/library/ossaudiodev.rst
@@ -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()