|
miniDSP
A small C library for audio DSP
|
Simple audio buffer with read/write positions. More...
Data Fields | |
| int16_t * | audiodata |
| Pointer to the sample buffer. | |
| unsigned long | len |
| Total number of samples in the buffer. | |
| unsigned long | pos_r |
| Current read position (playback). | |
| unsigned long | pos_w |
| Current write position (recording). | |
Simple audio buffer with read/write positions.
This struct is shared between the main thread and the PortAudio callback thread. The callback writes (during recording) or reads (during playback) from the buffer.
| int16_t* LA_simpleData::audiodata |
| unsigned long LA_simpleData::len |
| unsigned long LA_simpleData::pos_r |
| unsigned long LA_simpleData::pos_w |