comparison CollidoscopeApp/include/BufferToWaveRecorderNode.h @ 16:4dad0b810f18

Comment tidy up + attributions
author Fiore Martin <f.martin@qmul.ac.uk>
date Tue, 16 Aug 2016 14:27:53 +0100
parents 75b744078d66
children
comparison
equal deleted inserted replaced
15:5241f96479d6 16:4dad0b810f18
58 typedef ci::audio::dsp::RingBufferT<RecordWaveMsg> RecordWaveMsgRingBuffer; 58 typedef ci::audio::dsp::RingBufferT<RecordWaveMsg> RecordWaveMsgRingBuffer;
59 59
60 /** 60 /**
61 * A \a Node in the audio graph of the Cinder audio library that records input in a buffer. 61 * A \a Node in the audio graph of the Cinder audio library that records input in a buffer.
62 * 62 *
63 * This class is similar to \a cinder::audio::BufferRecorderNode (it's a derivative work of this class indeed) but it has an additional feature. 63 * This class is similar to \a cinder::audio::BufferRecorderNode (it's a derivative work of this class indeed) but it has an additional feature:
64 * When recording it uses the audio input samples to compute the size values of the visual chunks. 64 * when recording, it uses the audio input samples to compute the size values of the visual chunks.
65 * The chunks values are stored in a ring buffer and fetched by the graphic thread to paint the wave as it gets recorded. 65 * The chunks values are stored in a ring buffer and fetched by the graphic thread to paint the wave as it gets recorded.
66 * 66 *
67 */ 67 */
68 class BufferToWaveRecorderNode : public ci::audio::SampleRecorderNode { 68 class BufferToWaveRecorderNode : public ci::audio::SampleRecorderNode {
69 public: 69 public: