示例#1
0
 void OnAudioFilterRead(float[] data, int channels)
 {
     Lasp.RetrieveWaveform(0, data, (uint)data.Length, (uint)channels);
 }
示例#2
0
        void OnAudioFilterRead(float[] data, int channels)
        {
#if UNITY_STANDALONE_OSX && UNITY_PRO_LICENSE
            Lasp.RetrieveWaveform((uint)channel, data, (uint)data.Length, (uint)channels);
#endif
        }