Any idea why reading bytes from AudioRecord would cause an error while
reading shorts would not? The sound comes through great with short
but I get only static with bytes.
Working code with short[]:
int minBufferSize = AudioRecord.getMinBufferSize(this.getSampleRate(),
knee-jerk answer: because the individual samples
are 16 bits wide, and by reading just a byte each
time, you're only getting half the sample.
Any idea why reading bytes from AudioRecord would cause an error while
reading shorts would not? The sound comes through great with short
but I get
2 matches
Mail list logo