pub fn generate_wav_header(
data_size: u32,
sample_rate: u32,
channels: u16,
bits_per_sample: u16,
) -> Vec<u8> ⓘExpand description
Generate a WAV header for PCM audio data
This creates a standard WAV file header for 16-bit PCM audio. Based on Gemini’s audio format: 16-bit little-endian PCM at 24kHz sample rate, mono channel