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

Commit 72f04fc1 authored by Steve Kondik's avatar Steve Kondik
Browse files

audio: Add 24-bit offload format to audio_bytes_per_sample

Change-Id: I238f302beadf8ba7705ffcb70639fb32be4ff2c4
parent 021ef494
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1501,6 +1501,7 @@ static inline size_t audio_bytes_per_sample(audio_format_t format)
    switch (format) {
    case AUDIO_FORMAT_PCM_32_BIT:
    case AUDIO_FORMAT_PCM_8_24_BIT:
    case AUDIO_FORMAT_PCM_24_BIT_OFFLOAD:
        size = sizeof(int32_t);
        break;
    case AUDIO_FORMAT_PCM_24_BIT_PACKED: