注册 登录
编程论坛 Android开发

录制大量音频,推出页面重新加载显示到页面过程中出现有些音频初始化失败,求解

hongchuanron 发布于 2019-11-15 11:03, 2094 次点击
2019-11-15 10:49:57.691 16303-17704/com.water.memorandum E/IAudioFlinger: createTrack returned error -12
2019-11-15 10:49:57.692 16303-17704/com.water.memorandum E/AudioTrack: AudioFlinger could not create track, status: -12 output 764417416
2019-11-15 10:49:57.692 16303-17704/com.water.memorandum E/AudioTrack-JNI: Error -12 initializing AudioTrack
2019-11-15 10:49:57.693 16303-17704/com.water.memorandum E/android.media.AudioTrack: Error code -20 when initializing AudioTrack.
2019-11-15 10:49:57.693 16303-17704/com.water.memorandum W/AudioTrack: Use of stream types is deprecated for operations other than volume control
2019-11-15 10:49:57.694 16303-17704/com.water.memorandum W/AudioTrack: See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case
2019-11-15 10:49:57.899 16303-16303/com.water.memorandum E/onAudioFocusChange: 丢失焦点 Stop playback
2019-11-15 10:49:57.900 16303-16303/com.water.memorandum E/onAudioFocusChange: 丢失焦点 Stop playback
2019-11-15 10:49:57.901 16303-16303/com.water.memorandum E/SamplePlayer: pause() called on uninitialized AudioTrack.
2019-11-15 10:49:57.901 16303-16303/com.water.memorandum E/SamplePlayer: pause() called on uninitialized AudioTrack.
2019-11-15 10:49:57.902 16303-16303/com.water.memorandum E/onAudioFocusChange: 丢失焦点 Stop playback
2019-11-15 10:49:57.902 16303-16303/com.water.memorandum E/SamplePlayer: pause() called on uninitialized AudioTrack.
2019-11-15 10:49:57.903 16303-16303/com.water.memorandum E/onAudioFocusChange: 丢失焦点 Stop playback
2019-11-15 10:49:57.903 16303-16303/com.water.memorandum E/SamplePlayer: pause() called on uninitialized AudioTrack.
0 回复
1