summaryrefslogtreecommitdiff
path: root/apps/plugins/mikmod/mikmod_supp.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2019-08-04 16:51:50 -0400
committerSolomon Peachy <pizza@shaftnet.org>2019-08-07 09:48:15 -0400
commit2ebb8da275da1aa67d148d8ea4ddc1a3e94bd019 (patch)
tree187cc8a573e1245ae25290b49579ceb30e4a5945 /apps/plugins/mikmod/mikmod_supp.h
parente6b03ffa823aa2385c989fac9662bfd19679c5de (diff)
downloadrockbox-2ebb8da275da1aa67d148d8ea4ddc1a3e94bd019.tar.gz
rockbox-2ebb8da275da1aa67d148d8ea4ddc1a3e94bd019.zip
Mikmod plugin improvements
- Improved sound quality (use 44.1KHz) - Conventional mixer is now used - Playback is performed in a separate thread - Speech feedback in menus Patch by Igor Poretsky Change-Id: I13baa224cefd67aefe6d62b988971bfbd421757d
Diffstat (limited to 'apps/plugins/mikmod/mikmod_supp.h')
-rw-r--r--apps/plugins/mikmod/mikmod_supp.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/apps/plugins/mikmod/mikmod_supp.h b/apps/plugins/mikmod/mikmod_supp.h
index c76c283b92..29fa7ebf35 100644
--- a/apps/plugins/mikmod/mikmod_supp.h
+++ b/apps/plugins/mikmod/mikmod_supp.h
@@ -64,15 +64,7 @@ int mmsupp_sprintf(char *buf, const char *fmt, ... );
64extern const struct plugin_api * rb; 64extern const struct plugin_api * rb;
65 65
66 66
67#ifdef SIMULATOR
68#define SAMPLE_RATE SAMPR_44 /* Simulator requires 44100Hz */
69#else
70#if (HW_SAMPR_CAPS & SAMPR_CAP_22) /* use 22050Hz if we can */
71#define SAMPLE_RATE SAMPR_22 /* 22050 */
72#else
73#define SAMPLE_RATE SAMPR_44 /* 44100 */ 67#define SAMPLE_RATE SAMPR_44 /* 44100 */
74#endif
75#endif
76 68
77#define BUF_SIZE 4096*8 69#define BUF_SIZE 4096*8
78#define NBUF 2 70#define NBUF 2