double buffer with back and front Implements double buffering. More...
#include <AmAudio.h>
Public Member Functions | |
| DblBuffer () | |
| operator unsigned char * () | |
| unsigned char * | back_buffer () |
| void | swap () |
double buffer with back and front Implements double buffering.
| DblBuffer::DblBuffer | ( | ) |
Constructs a double buffer.
References AUDIO_BUFFER_SIZE.
| unsigned char * DblBuffer::back_buffer | ( | ) |
Returns a pointer to the current back buffer.
| DblBuffer::operator unsigned char * | ( | ) |
Returns a pointer to the current front buffer.
References AUDIO_BUFFER_SIZE.
| void DblBuffer::swap | ( | ) |
swaps front and back buffer.
1.7.1