summaryrefslogtreecommitdiffstats
path: root/audio_utils/format.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio_utils/format.c')
-rw-r--r--audio_utils/format.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/audio_utils/format.c b/audio_utils/format.c
index 4e61321..3eda484 100644
--- a/audio_utils/format.c
+++ b/audio_utils/format.c
@@ -120,6 +120,9 @@ void memcpy_by_audio_format(void *dst, audio_format_t dst_format,
case AUDIO_FORMAT_PCM_FLOAT:
memcpy_to_i32_from_float((int32_t*)dst, (float*)src, count);
return;
+ case AUDIO_FORMAT_PCM_24_BIT_PACKED:
+ memcpy_to_i32_from_p24((int32_t*)dst, (uint8_t *)src, count);
+ return;
default:
break;
}