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

Commit 2928b9e8 authored by Uday Kishore Pasupuleti's avatar Uday Kishore Pasupuleti Committed by android-build-merger
Browse files

hal: audio_stream_frame_size is deprecated

am: b14d76b8

* commit 'b14d76b8':
  hal: audio_stream_frame_size is deprecated
parents 0549a74a b14d76b8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1614,7 +1614,7 @@ static ssize_t out_write_for_no_output(struct audio_stream_out *stream,
     * Sleep for the amount of buffer duration
     */
    lock_output_stream(out);
    usleep(bytes * 1000000 / audio_stream_frame_size(&out->stream.common) /
    usleep(bytes * 1000000 / audio_stream_out_frame_size(&out->stream.common) /
            out_get_sample_rate(&out->stream.common));
    pthread_mutex_unlock(&out->lock);
    return bytes;