Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

o Fix blocksize header; this was once an experiment that seems

  to trip audacity.
  • Loading branch information...
commit 335d1854fc6c04286923ec40e293629e64a7162c 1 parent 4185e88
Henner Zeller authored

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +3 3 folve-filesystem.cc
6 folve-filesystem.cc
@@ -323,9 +323,9 @@ class SndFileHandler :
323 323 if (copy_flac_header_verbatim_) {
324 324 out_buffer->WriteCharAt((1152 & 0xFF00) >> 8, 8);
325 325 out_buffer->WriteCharAt((1152 & 0x00FF) , 9);
326   - out_buffer->WriteCharAt((32768 & 0xFF00) >> 8, 10);
327   - out_buffer->WriteCharAt((32768 & 0x00FF) , 11);
328   - for (int i = 12; i < 18; ++i) out_buffer->WriteCharAt(0, i); // MD5
  326 + out_buffer->WriteCharAt((1152 & 0xFF00) >> 8, 10);
  327 + out_buffer->WriteCharAt((1152 & 0x00FF) , 11);
  328 + for (int i = 12; i < 18; ++i) out_buffer->WriteCharAt(0, i); // framesize
329 329 } else {
330 330 // .. and if SNDFILE writes the header, it misses out in writing the
331 331 // number of samples to be expected. So let's fill that in.

0 comments on commit 335d185

Please sign in to comment.
Something went wrong with that request. Please try again.