unknown
1970-01-01 00:00:00 UTC
/**
* Read frame_count samples into buffer. buffer must be at least
* |frame_count * GetSampleSize(format) * channel_count| bytes long.
*
* @param frame_count number of frames to read
* @param buffer buffer to store samples in
*
* @return number of frames actually read
*/
ADR_METHOD(int) read(int frame_count, void* buffer) = 0;
You'll need to have a buffer that can fit 64 samples, and the size calculation
is shown above.
Clear enough?
* Read frame_count samples into buffer. buffer must be at least
* |frame_count * GetSampleSize(format) * channel_count| bytes long.
*
* @param frame_count number of frames to read
* @param buffer buffer to store samples in
*
* @return number of frames actually read
*/
ADR_METHOD(int) read(int frame_count, void* buffer) = 0;
You'll need to have a buffer that can fit 64 samples, and the size calculation
is shown above.
Clear enough?
Its all I need.. I can do the rest of the calculations myself and
implement the FTT. If anyone can help so I can get right on with it you
would make me a very happy man :) Also, if anyone is interested, if I
ever get a graphic spectrum displaying properly I would be more than
happy to share the source! ^_^
Cool. :)implement the FTT. If anyone can help so I can get right on with it you
would make me a very happy man :) Also, if anyone is interested, if I
ever get a graphic spectrum displaying properly I would be more than
happy to share the source! ^_^
Looking forward to your response
-Dave
Chad-Dave