public int getFft (byte[] fft)引入自:API 级别9
Returns a frequency capture of currently playing audio content. This method must be called when the Visualizer is enabled. The capture is an 8-bit magnitude FFT, the frequency range covered being 0 (DC) to half of the sampling rate returned by Note: only the real part is returned for the first point (DC) and the last point (sampling frequency / 2). The layout in the returned byte array is as follows:
参数
返回值
|
|
来自: 子路问学 > 《mediaplayer》