Skip to content

Commit

Permalink
CBF magic number
Browse files Browse the repository at this point in the history
  • Loading branch information
VoidXH committed Jun 27, 2024
1 parent ab2ac59 commit df8a579
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,10 @@ void ValidateForExport() {
}
}
}

/// <summary>
/// CBFM marker.
/// </summary>
const int magicNumber = 0x4D464243;
}
}
2 changes: 1 addition & 1 deletion docs/Format definitions/Convolution Box Format.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ A file format for easy to implement DSP, only using channel copy and convolution
filters. Channels are numbered from 0 to the number of system channels. Negative
channel indices mean virtual channels, of which any number can be created.
All values are little endian.
* 4 bytes: "CBFM" marker
* 4 bytes: "CBFM" marker (magic number: 0x4D464243)
* 4 bytes: system sample rate, used for all convolutions
* 4 bytes: number of filter entries

Expand Down

0 comments on commit df8a579

Please sign in to comment.