Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 58d58da

Browse files
committed
Fix small copy-paste typo in ossaudiodev setparameters() example (found by Ken Housley on docs@).
1 parent dbab26a commit 58d58da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/ossaudiodev.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ simple calculations.
302302

303303
fmt = dsp.setfmt(fmt)
304304
channels = dsp.channels(channels)
305-
rate = dsp.rate(channels)
305+
rate = dsp.rate(rate)
306306

307307

308308
.. method:: oss_audio_device.bufsize()

0 commit comments

Comments
 (0)