Code example for AudioTrack

Methods: flush

0
        track.play();        
    }	    
 
    public void flush() 
    { 
        track.flush();
    } 
 
    public void writeSamples(byte[] samples, int length) 
    { 
        track.write( samples, 0, length);
    } 
 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE