Android如何读取由Glib创建的日志
现在,我正在使用fluidsynth,所以文件播放Midi Note,它通过Glib Fun写日志。
例如,g_vsnprintf(xxx);
#define FLUID_LOG g_vsnprintf
if(synth->verbose)
{
FLUID_LOG(FLUID_INFO,
"noteon\t%d\t%d\t%d\t%05d\t%.3f\t%.3f\t%.3f\t%d\t%s",
chan, key, vel, 0,
fluid_synth_get_ticks(synth) / 44100.0f,
(fluid_curtime() - synth->start) / 1000.0f,
0.0f, 0, "channel has no preset");
}
我想知道Android如何阅读此日志?
now I'm using fluidsynth so file to play midi note,which write log by glib fun.
for example, g_vsnprintf(xxx);
#define FLUID_LOG g_vsnprintf
if(synth->verbose)
{
FLUID_LOG(FLUID_INFO,
"noteon\t%d\t%d\t%d\t%05d\t%.3f\t%.3f\t%.3f\t%d\t%s",
chan, key, vel, 0,
fluid_synth_get_ticks(synth) / 44100.0f,
(fluid_curtime() - synth->start) / 1000.0f,
0.0f, 0, "channel has no preset");
}
I want know android how to read this log?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论