summaryrefslogtreecommitdiff
path: root/sounddevice.py
diff options
context:
space:
mode:
authorMatthias Geier <Matthias.Geier@gmail.com>2015-11-01 11:55:58 +0100
committerMatthias Geier <Matthias.Geier@gmail.com>2015-11-01 11:55:58 +0100
commit9cbcb977e366d4a7fdb7e8072002263f007e3e2d (patch)
treeae08114fca3e4051a5cc87f8183d7ae2c42677a2 /sounddevice.py
parent9fcebac2b6e4a187ae7dcbf39f06aed4b1800694 (diff)
Remove empty lines before class docstrings
Some time ago, this was changed in PEP 257.
Diffstat (limited to 'sounddevice.py')
-rw-r--r--sounddevice.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/sounddevice.py b/sounddevice.py
index a8e69aa..320022c 100644
--- a/sounddevice.py
+++ b/sounddevice.py
@@ -700,7 +700,6 @@ def get_portaudio_version():
class _StreamBase(object):
-
"""Base class for Raw{Input,Output}Stream."""
def __init__(self, kind, samplerate, blocksize, device, channels, dtype,
@@ -1020,7 +1019,6 @@ class _StreamBase(object):
class RawInputStream(_StreamBase):
-
"""Raw stream for recording only. See __init__() and RawStream."""
def __init__(self, samplerate=None, blocksize=None,
@@ -1122,7 +1120,6 @@ class RawInputStream(_StreamBase):
class RawOutputStream(_StreamBase):
-
"""Raw stream for playback only. See __init__() and RawStream."""
def __init__(self, samplerate=None, blocksize=None,
@@ -1232,7 +1229,6 @@ class RawOutputStream(_StreamBase):
class RawStream(RawInputStream, RawOutputStream):
-
"""Raw stream for playback and recording. See __init__()."""
def __init__(self, samplerate=None, blocksize=None,
@@ -1298,7 +1294,6 @@ class RawStream(RawInputStream, RawOutputStream):
class InputStream(RawInputStream):
-
"""Stream for input only. See __init__() and Stream."""
def __init__(self, samplerate=None, blocksize=None,
@@ -1381,7 +1376,6 @@ class InputStream(RawInputStream):
class OutputStream(RawOutputStream):
-
"""Stream for output only. See __init__() and Stream."""
def __init__(self, samplerate=None, blocksize=None,
@@ -1473,7 +1467,6 @@ class OutputStream(RawOutputStream):
class Stream(InputStream, OutputStream):
-
"""Stream for input and output. See __init__()."""
def __init__(self, samplerate=None, blocksize=None,
@@ -1737,7 +1730,6 @@ class Stream(InputStream, OutputStream):
class DeviceList(tuple):
-
"""A list with information about all available audio devices.
This class is not meant to be instantiated by the user.
@@ -1774,7 +1766,6 @@ class DeviceList(tuple):
class CallbackFlags(object):
-
"""Flag bits for the `status` argument to a stream `callback`.
See Also
@@ -1884,7 +1875,6 @@ class CallbackFlags(object):
class _InputOutputPair(object):
-
"""Parameter pairs for device, channels, dtype and latency."""
_indexmapping = {'input': 0, 'output': 1}
@@ -1910,7 +1900,6 @@ class _InputOutputPair(object):
class default(object):
-
"""Get/set defaults for the `sounddevice` module.
The attributes :attr:`device`, :attr:`channels`, :attr:`dtype` and
@@ -2093,14 +2082,12 @@ if not hasattr(_ffi, 'I_AM_FAKE'):
class PortAudioError(Exception):
-
"""This exception will be raised on PortAudio errors."""
pass
class CallbackStop(Exception):
-
"""Exception to be raised by the user to stop callback processing.
If this is raised in the stream callback, the callback will not be
@@ -2116,7 +2103,6 @@ class CallbackStop(Exception):
class CallbackAbort(Exception):
-
"""Exception to be raised by the user to abort callback processing.
If this is raised in the stream callback, all pending buffers are
@@ -2132,7 +2118,6 @@ class CallbackAbort(Exception):
class _CallbackContext(object):
-
"""Helper class for re-use in play()/rec()/playrec() callbacks."""
blocksize = None