#include <replaygain_scanner.h>

Public Member Functions | |
| virtual void | process_chunk (const audio_chunk &chunk)=0 |
| virtual replaygain_result::ptr | finalize ()=0 |
| virtual void replaygain_scanner::process_chunk | ( | const audio_chunk & | chunk | ) | [pure virtual] |
Processes a PCM chunk.
May throw exception_io_data if the chunk contains something that can't be processed properly.
| virtual replaygain_result::ptr replaygain_scanner::finalize | ( | ) | [pure virtual] |
Finalizes the scanning process; resets scanner's internal state and returns results for the track we've just scanned.
After calling finalize(), scanner's state becomes the same as after instantiation; you can continue with processing another track without creating a new scanner object.
1.5.5