开发者

AudioRecord: bits per sample

AudioRecord has methods to get the data as byte[], short[] and ByteBuffer.

I can't see anything in the documentation which says how many bits per sample开发者_Go百科 are used.

Can it record in 8 bits? 16 bits? More? (How is this determined/set?)

Can the method which returns byte[]/ByteBuffer be used for 16 bit samples, and how would the most significant byte / least significant byte be differentated?


Presumably this is what getAudioFormat() tells you...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜