Bela
Real-time, ultra-low-latency audio and sensor processing system for BeagleBone Black
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Public Member Functions | List of all members
SampleStream Class Reference

Public Member Functions

 SampleStream (const char *filename, int numChannels, int bufferLength)
 
int openFile (const char *filename, int numChannels, int bufferLength)
 
void fillBuffer ()
 
void processFrame ()
 
float getSample (int channel)
 
int bufferNeedsFilled ()
 
void togglePlayback ()
 
void togglePlaybackWithFade (float fadeLengthInSeconds)
 
void togglePlayback (int toggle)
 
void togglePlaybackWithFade (int toggle, float fadeLengthInSeconds)
 
int isPlaying ()
 

Detailed Description

Examples:
Audio/sample-streamer-multi/render.cpp.

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