⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

convert_s32_to_s16

Function convert_s32_to_s16 

Source
pub fn convert_s32_to_s16(data: &[u8]) -> Vec<i16>
Expand description

Convert signed 32-bit little-endian PCM to signed 16-bit PCM

Discards the lower 16 bits of each 32-bit sample.