AcoustID.Chromaprint.Fingerprinter.Start C# (CSharp) Method

Start() public method

Initialize the fingerprinting process.
public Start ( int sample_rate, int num_channels ) : bool
sample_rate int
num_channels int
return bool
        public bool Start(int sample_rate, int num_channels)
        {
            if (!m_audio_processor.Reset(sample_rate, num_channels))
            {
                // TODO: save error message somewhere
                return false;
            }
            m_fft.Reset();
            m_chroma.Reset();
            m_chroma_filter.Reset();
            m_chroma_normalizer.Reset();
            m_image = new Image(12);
            m_image_builder.Reset(m_image);

            return true;
        }