Ring buffer to hold audio from PortAudio
Definition at line 21 of file snowboydecoder.py.
◆ __init__()
def snowboydecoder.RingBuffer.__init__ |
( |
|
self, |
|
|
|
size = 4096 |
|
) |
| |
◆ extend()
def snowboydecoder.RingBuffer.extend |
( |
|
self, |
|
|
|
data |
|
) |
| |
◆ get()
def snowboydecoder.RingBuffer.get |
( |
|
self | ) |
|
Retrieves data from the beginning of buffer and clears it
Definition at line 30 of file snowboydecoder.py.
◆ _buf
snowboydecoder.RingBuffer._buf |
|
private |
The documentation for this class was generated from the following file: