ArduinoSound - AudioInI2S.end()

Description

Disables the I2S input interface and stops capturing audio data

Syntax

AudioInI2S.end();

Returns

None

Example


  // setup the I2S audio input for 44.1 kHz with 32-bits per sample
  if (!AudioInI2S.begin(44100, 32)) {
    Serial.println("Failed to initialize I2S input!");
    while (1); // do nothing
  }

   // do some processing

  // stop the input source
  AudioInI2S.end();