Loading arch/arm/mach-msm/qdsp5/audio_amrnb.c +1 −0 Original line number Diff line number Diff line Loading @@ -802,6 +802,7 @@ static long audamrnb_ioctl(struct file *file, unsigned int cmd, if (cmd == AUDIO_GET_STATS) { struct msm_audio_stats stats; memset(&stats, 0, sizeof(struct msm_audio_stats)); stats.byte_count = audpp_avsync_byte_count(audio->dec_id); stats.sample_count = audpp_avsync_sample_count(audio->dec_id); if (copy_to_user((void *)arg, &stats, sizeof(stats))) Loading Loading
arch/arm/mach-msm/qdsp5/audio_amrnb.c +1 −0 Original line number Diff line number Diff line Loading @@ -802,6 +802,7 @@ static long audamrnb_ioctl(struct file *file, unsigned int cmd, if (cmd == AUDIO_GET_STATS) { struct msm_audio_stats stats; memset(&stats, 0, sizeof(struct msm_audio_stats)); stats.byte_count = audpp_avsync_byte_count(audio->dec_id); stats.sample_count = audpp_avsync_sample_count(audio->dec_id); if (copy_to_user((void *)arg, &stats, sizeof(stats))) Loading