Loading sound/core/compress_offload.c +6 −0 Original line number Diff line number Diff line Loading @@ -174,12 +174,18 @@ static int snd_compr_update_tstamp(struct snd_compr_stream *stream, err = stream->ops->pointer(stream, tstamp); if (err) return err; #ifdef CONFIG_AUDIO_QGKI pr_debug("dsp consumed till %u total %llu bytes\n", tstamp->byte_offset, stream->runtime->total_bytes_transferred); #else pr_debug("dsp consumed till %d total %d bytes\n", tstamp->byte_offset, tstamp->copied_total); if (stream->direction == SND_COMPRESS_PLAYBACK) stream->runtime->total_bytes_transferred = tstamp->copied_total; else stream->runtime->total_bytes_available = tstamp->copied_total; #endif return 0; } Loading Loading
sound/core/compress_offload.c +6 −0 Original line number Diff line number Diff line Loading @@ -174,12 +174,18 @@ static int snd_compr_update_tstamp(struct snd_compr_stream *stream, err = stream->ops->pointer(stream, tstamp); if (err) return err; #ifdef CONFIG_AUDIO_QGKI pr_debug("dsp consumed till %u total %llu bytes\n", tstamp->byte_offset, stream->runtime->total_bytes_transferred); #else pr_debug("dsp consumed till %d total %d bytes\n", tstamp->byte_offset, tstamp->copied_total); if (stream->direction == SND_COMPRESS_PLAYBACK) stream->runtime->total_bytes_transferred = tstamp->copied_total; else stream->runtime->total_bytes_available = tstamp->copied_total; #endif return 0; } Loading