mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 10:37:38 -04:00
Midiplay plugin ehancements
- Improved robustness - Improved sound quality - Use mixer and DSP Patch by Igor Poretsky Change-Id: I6fa617158cbaa53ae842295cdbdbe3a478e49ded
This commit is contained in:
parent
eea5bfc9ae
commit
ed724fecb1
7 changed files with 232 additions and 115 deletions
|
@ -25,14 +25,11 @@
|
|||
|
||||
#define BUF_SIZE 16384 /* 64 kB output buffers */
|
||||
#define NBUF 2
|
||||
#define MAX_SAMPLES 512
|
||||
|
||||
#ifndef SIMULATOR
|
||||
|
||||
#if (HW_SAMPR_CAPS & SAMPR_CAP_22) /* use 22050Hz if we can */
|
||||
#define SAMPLE_RATE SAMPR_22 /* 22050 */
|
||||
#else
|
||||
#define SAMPLE_RATE SAMPR_44 /* 44100 */
|
||||
#endif
|
||||
|
||||
/* Some of the pp based targets can't handle too many voices
|
||||
mainly because they have to use 44100Hz sample rate, this could be
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue