summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCon Kolivas <kernel@kolivas.org>2020-06-27 13:02:57 +1000
committerMartijn van Beurden <mvanb1@gmail.com>2022-04-13 20:32:08 +0200
commit24629435bb265d740bf5ff12b2e48a7fbc319977 (patch)
tree03516c49c3fb2f9340734232b53c8baf17d534c1 /include
parentf7e77f627ae7c75c75e9a971cfc403c5e6a699ec (diff)
downloadflac-24629435bb265d740bf5ff12b2e48a7fbc319977.tar.gz
Add support in the encoder for up to 20 bit sample rates
Now that many DACs support up to 768kHz, add support for these sample rates to the encoder. Files produced with these sample rates are already decodable by the reference decoder. Update documentation and tests accordingly.
Diffstat (limited to 'include')
-rw-r--r--include/FLAC/format.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/FLAC/format.h b/include/FLAC/format.h
index 769ab8af..cf5c25aa 100644
--- a/include/FLAC/format.h
+++ b/include/FLAC/format.h
@@ -125,7 +125,7 @@ extern "C" {
* ((2 ^ 16) - 1) * 10; see <A HREF="../format.html">FLAC format</A>
* as to why.
*/
-#define FLAC__MAX_SAMPLE_RATE (655350u)
+#define FLAC__MAX_SAMPLE_RATE (1048575u)
/** The maximum LPC order permitted by the format. */
#define FLAC__MAX_LPC_ORDER (32u)