lib/minim/src/ddf/minim/AudioInput.java
/**
   * When monitoring is enabled, you will be able to hear 
   * the audio that is coming through the input. 
   * 
   * @example Basics/MonitorInput
   * 
   * @related disableMonitoring ( )
   * @related isMonitoring ( )
   * @related AudioInput
   */
When monitoring is enabled, you will be able to hear
the audio that is coming through the input.




When monitoring is enabled you will be able to hear the audio that is coming through the input .
public void enableMonitoring()
  {
    if ( hasControl(VOLUME) )
    {
    	setVolume( 1 );
        m_isMonitoring = true;
    }
    else if ( hasControl(GAIN) )
    {
    	setGain( 0 );
        m_isMonitoring = true;
    }
    else
    {
    	Minim.error( "Monitoring is not available on this AudioInput." );
    }
  }
public void enableMonitoring ( ) { if ( hasControl ( VOLUME ) ) { setVolume ( 1 ) ; m_isMonitoring = true ; } else if ( hasControl ( GAIN ) ) { setGain ( 0 ) ; m_isMonitoring = true ; } else { Minim . error ( "Monitoring is not available on this AudioInput." ) ; } }
When monitoring is enabled, you will be able to hear
 the audio that is coming through the input.
When monitoring is enabled you will be able to hear the audio that is coming through the input .
// make sure we don't make sound