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 /firmware/export/config/sansafuzeplus.h | |
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 'firmware/export/config/sansafuzeplus.h')
-rw-r--r-- | firmware/export/config/sansafuzeplus.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/config/sansafuzeplus.h b/firmware/export/config/sansafuzeplus.h index 0306b4d14a..aeb9153fcc 100644 --- a/firmware/export/config/sansafuzeplus.h +++ b/firmware/export/config/sansafuzeplus.h | |||
@@ -13,12 +13,12 @@ | |||
13 | /* define boot redirect file name allows booting from external drives */ | 13 | /* define boot redirect file name allows booting from external drives */ |
14 | #define BOOT_REDIR "rockbox_main.fuze+" | 14 | #define BOOT_REDIR "rockbox_main.fuze+" |
15 | 15 | ||
16 | #define HW_SAMPR_CAPS SAMPR_CAP_ALL | 16 | #define HW_SAMPR_CAPS SAMPR_CAP_ALL_48 |
17 | 17 | ||
18 | /* define this if you have recording possibility */ | 18 | /* define this if you have recording possibility */ |
19 | #define HAVE_RECORDING | 19 | #define HAVE_RECORDING |
20 | 20 | ||
21 | #define REC_SAMPR_CAPS SAMPR_CAP_ALL | 21 | #define REC_SAMPR_CAPS SAMPR_CAP_ALL_48 |
22 | 22 | ||
23 | /* Default recording levels */ | 23 | /* Default recording levels */ |
24 | #define DEFAULT_REC_MIC_GAIN 23 | 24 | #define DEFAULT_REC_MIC_GAIN 23 |