# #36 32bit flac support

| Field   | Value |
|---------|-------|
| **State** | open |
| **Author** | @justjakka |
| **Created** | 2025-06-05 |
| **Updated** | 2025-06-05 |
| **URL** | https://github.com/ruuda/claxon/issues/36 |

---

whenever im trying to decode samples from a 32bit flac i encounter an error

code
```rust
let mut reader = claxon::FlacReader::open(file)?;
for samples in reader
        .samples()
        .map(|sample| sample.unwrap())
        .collect::<Vec<_>>()
        .chunks(4096 * usize::try_from(config.channels).unwrap())
    {
        enc.process_interleaved(samples, u32::try_from(samples.len()).unwrap() / config.channels)
            .unwrap();
        let _ = samples
            .iter()
            .map(|sample| hasher.update(sample.to_le_bytes()))
            .collect::<Vec<_>>();
    }
```
panics with error `FormatError("invalid frame header, encountered reserved value")`
same behavior is encountered with simpler code:
```rust
let mut reader = claxon::FlacReader::open(file)?;
for sample in reader.samples() {
        sample?;
}
```
since 32 bit frame isnt implemented in this lib
