diff options
Diffstat (limited to 'cras/client/cras_tests/src/audio.rs')
-rw-r--r-- | cras/client/cras_tests/src/audio.rs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/cras/client/cras_tests/src/audio.rs b/cras/client/cras_tests/src/audio.rs index 5ab22474..261ad631 100644 --- a/cras/client/cras_tests/src/audio.rs +++ b/cras/client/cras_tests/src/audio.rs @@ -317,11 +317,9 @@ impl Write for WavSink { samples[sample_bytes * i + 3], ]); - // Upsample to 32 bit since CRAS doesn't support S24_3LE. - // Our wav encoder/decoder, hound, does have support for - // S24_LE, but it hasn't released a new version since the - // support was added. If getting that support is an issue, - // push upstream to cut a new a release. + // Upsample to 32 bit since CRAS doesn't support S24_3LE, + // even though the wav encoder does. + // TODO(fletcherw): add S24_LE support to hound. if self.format == SampleFormat::S24LE { sample <<= 8; } |