summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index 9e36640..451c562 100644
--- a/README.rst
+++ b/README.rst
@@ -180,7 +180,7 @@ To play back an array and record at the same time, use `sounddevice.playrec()`:
.. code:: python
- myrecording2 = sd.playrec(myarray, fs, channels=2)
+ myrecording = sd.playrec(myarray, fs, channels=2)
The number of output channels is obtained from ``myarray``, but the number of
input channels still has to be specified.
@@ -191,7 +191,7 @@ Again, default values can be used:
sd.default.samplerate = fs
sd.default.channels = 2
- myrecording2 = sd.playrec(myarray)
+ myrecording = sd.playrec(myarray)
In this case the number of output channels is still taken from ``myarray``
(which may or may not have 2 channels), but the number of input channels is