Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bbed4a16 authored by Eric Laurent's avatar Eric Laurent
Browse files

audio: deprecate audio_stream_frame_size()

Bug: 15000850.
Change-Id: I1edcc78561cdc328ae0d91a1d07b0836ca5e1715
parent f2674e0b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -763,7 +763,7 @@ static uint32_t out_get_latency(const struct audio_stream_out *stream)
    FNLOG();

    latency_us = ((out->common.buffer_sz * 1000 ) /
                    audio_stream_frame_size(&out->stream.common) /
                    audio_stream_out_frame_size(&out->stream) /
                    out->common.cfg.rate) * 1000;