예제 #1
0
 public int FeedShort(short data, int size)
 {
     return(LibFooIdInterop.FeedShort(_fid, ref data, size));
 }
예제 #2
0
 public int FeedFloat(float data, int size)
 {
     return(LibFooIdInterop.FeedFloat(_fid, ref data, size));
 }
예제 #3
0
 public void Dispose()
 {
     LibFooIdInterop.Free(_fid);
     GC.SuppressFinalize(this);
 }
예제 #4
0
 public int Calculate(int songLength, byte[] buffer)
 {
     return(LibFooIdInterop.Calculate(_fid, songLength, buffer));
 }
예제 #5
0
 public LibFooId(int sampleRate, int channels)
 {
     _fid = LibFooIdInterop.Init(sampleRate, channels);
 }