You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RecordManager.getInstance().init(YCApplication.getInstance(), true);
调用RecordManager.getInstance().start();后有如下log输出,Context有问题
W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1542 android.content.ContextWrapper.startService:494 com.zlw.main.recorderlib.recorder.RecordService.pauseRecording:108 com.zlw.main.recorderlib.RecordManager.pause:78 com.ycsoft.smartbox.record.RecordHolder.finishRecord:228
RecordManager.getInstance().init(YCApplication.getInstance(), true);
调用RecordManager.getInstance().start();后有如下log输出,Context有问题
W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1542 android.content.ContextWrapper.startService:494 com.zlw.main.recorderlib.recorder.RecordService.pauseRecording:108 com.zlw.main.recorderlib.RecordManager.pause:78 com.ycsoft.smartbox.record.RecordHolder.finishRecord:228
调用RecordManager.getInstance().start();录音,然后调用了 RecordManager.getInstance().pause();RecordManager.getInstance().stop(); , 发现仍然有log在不停的输出,根本停不下来。怀疑是某个循环没有关闭。log如下:
10-13 15:58:03.807 128-6044/? D/vf_audio_hw: in_read:240
10-13 15:58:03.817 128-6044/? D/vf_audio_hw: in_read:240
10-13 15:58:03.847 128-6044/? D/vf_audio_hw: in_read:240
10-13 15:58:03.857 128-6044/? D/vf_audio_hw: in_read:240
10-13 15:58:03.877 128-6044/? D/vf_audio_hw: in_read:240
10-13 15:58:03.897 128-6044/? D/vf_audio_hw: in_read:240
10-13 15:58:03.917 128-6044/? D/vf_audio_hw: in_read:240
10-13 15:58:03.937 128-6044/? D/vf_audio_hw: in_read:240
10-13 15:58:03.957 128-6044/? D/vf_audio_hw: in_read:240
10-13 15:58:03.977 128-6044/? D/vf_audio_hw: in_read:240
10-13 15:58:03.997 128-6044/? D/vf_audio_hw: in_read:240
10-13 15:58:04.017 128-6044/? D/vf_audio_hw: in_read:240
10-13 15:58:04.047 128-6044/? D/vf_audio_hw: in_read:240
10-13 15:58:04.057 128-6044/? D/vf_audio_hw: in_read:240
10-13 15:58:04.077 128-6044/? D/vf_audio_hw: in_read:240
10-13 15:58:04.107 128-6044/? D/vf_audio_hw: in_read:240
多次调用start,并用pause stop 停止后,小概率会出现音频文件返回的时间错误,时间变得很大。有较大概率会出现同一个录音文件,前半截有声音,后半截没有声音的情况。
请大神请多指教,谢谢!
The text was updated successfully, but these errors were encountered: