Call start to begin playback and drain to wait until the playback is complete, and close to release the audio line.
调用start开始播放,drain等待播放完成,close释放音频线路。
The first line gets the path of the audio file.
第一行是获取音频文件路径。
However, in line with the modest capabilities of the iMic, our target for this series is to work with two parallel (stereo) 44.1khz 16-bit data streams, implying an audio bandwidth of 22.05khz.
然而,为了让iMic具有适度的性能,我们在本系列文章中的目标是处理两个并行的(立体声)44.1 kHz的16位数据流,这就意味着要实现22.05 kHz的音频带宽。
应用推荐