Public Member Functions | Private Attributes | List of all members
snowboy.snowboydecoder.RingBuffer Class Reference
Inheritance diagram for snowboy.snowboydecoder.RingBuffer:
Inheritance graph

Public Member Functions

def __init__ (self, size=4096)
def extend (self, data)
def get (self)

Private Attributes


Detailed Description

Ring buffer to hold audio from PortAudio

Definition at line 21 of file

Constructor & Destructor Documentation

def snowboy.snowboydecoder.RingBuffer.__init__ (   self,
  size = 4096 

Definition at line 23 of file

Member Function Documentation

def snowboy.snowboydecoder.RingBuffer.extend (   self,
Adds data to the end of buffer

Definition at line 26 of file

def snowboy.snowboydecoder.RingBuffer.get (   self)
Retrieves data from the beginning of buffer and clears it

Definition at line 30 of file

Member Data Documentation


Definition at line 24 of file

The documentation for this class was generated from the following file:

Author(s): Anas Abou Allaban
autogenerated on Mon Jun 10 2019 13:02:59