AudioFlinger dumpsys
dumpsys media.audio_flinger
1、第一部分
1、Output thread:表示当前线程为输出流的线程
2、I/O handle:表示当前的线程handle
3、Standby:no表示当前线程在运行。
4、Sample rate:采样率
6、HAL foramt:送给audio hal的格式
13、Output device:当前线程处理的数据输出到的音频设备
20、Normal frame count:output buffer size (mNormalFrameCount)
通过audio_hw.c的out->stream.common.get_buffer_size函数获取mBufferSize
void AudioFlinger::PlaybackThread::readOutputParameters_l