diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-09-30 18:21:38 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-09-30 21:37:11 -0400 |
commit | 01650b8bc9e400d3b90ebfba403033c7a87bc35e (patch) | |
tree | 573c00d9d652a8bb9da9ac5c3d606d819b676e9a /apps/enc_config.c | |
parent | c2c59457e132c1d296d23363d1fb3757cdbf2080 (diff) | |
download | rockbox-01650b8bc9e400d3b90ebfba403033c7a87bc35e.tar.gz rockbox-01650b8bc9e400d3b90ebfba403033c7a87bc35e.zip |
audio: Add support for 192 and 176KHz playback
* SAMPR_CAPS_ALL -> SAMPR_CAPS_ALL_48/96/192
* All targets claiming SAMPR_CAPS_ALL now get appropriate subset
* No need to explicitly define HAVE_PLAY_FREQ
* Rates that are a multiple of 44 or 48KHz can be used for playback
Inspired by a patch by Roman Stolyarov, but substantially rewritten by myself.
Change-Id: Iaca7363521b1cb9921e047ba1004d3cbe9c9c23e
Diffstat (limited to 'apps/enc_config.c')
-rw-r--r-- | apps/enc_config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/enc_config.c b/apps/enc_config.c index a971343cab..66aaac22e6 100644 --- a/apps/enc_config.c +++ b/apps/enc_config.c | |||
@@ -375,7 +375,7 @@ bool enc_get_caps(const struct encoder_config *cfg, | |||
375 | else | 375 | else |
376 | { | 376 | { |
377 | /* If no function provided...defaults to all */ | 377 | /* If no function provided...defaults to all */ |
378 | caps->samplerate_caps = SAMPR_CAP_ALL; | 378 | caps->samplerate_caps = SAMPR_CAP_ALL_192; |
379 | caps->channel_caps = CHN_CAP_ALL; | 379 | caps->channel_caps = CHN_CAP_ALL; |
380 | } | 380 | } |
381 | 381 | ||