I encountered an error while using
"GNOperations.recognizeMIDFileFromPcm(GNSearchResultReady arg0, GNConfig arg1, GNSampleBuffer arg2)"
from the sample app provided in @android sdk.
"Not enough audio in input stream. Need at least 320000 bytes of pcm samples, got 104000 bytes"
The buffer params are the same as mentioned in the sample app
int channel = 1;
int sampleRate = 8000;
int length = (int) (sampleRate * 2 * 6.5);
byte pcmBuffer = new byte[length];
However if I change them to match 320000 bytes, the response I get is not correct it returns some different song info.
am I missing something??