Reduce sampling ratee
This commit is contained in:
parent
6a9bcd41b6
commit
53330554db
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,5 +1,6 @@
|
|||
bin/
|
||||
*.iso
|
||||
*.img
|
||||
|
||||
*.icloud
|
||||
.DS_Store
|
||||
|
|
|
@ -147,7 +147,7 @@ static const f64 NOTES[NUM_OCTAVES * OCTAVE_SIZE] = {
|
|||
#define DSP_VOLUME 0x22
|
||||
#define DSP_IRQ 0x80
|
||||
|
||||
#define SAMPLE_RATE 21500
|
||||
#define SAMPLE_RATE 22050
|
||||
#define BUFFER_MS 40
|
||||
|
||||
#define BUFFER_SIZE ((size_t) (SAMPLE_RATE * (BUFFER_MS / 1000.0)))
|
||||
|
|
Reference in a new issue