enable sound ( still broken )

This commit is contained in:
aliaspider
2014-12-09 05:36:30 +01:00
parent b69fee8b31
commit cd185c849b
3 changed files with 17 additions and 10 deletions

View File

@@ -20,7 +20,13 @@
#ifndef SOUND_H
#define SOUND_H
#define BUFFER_SIZE 65536
#define BUFFER_SIZE (1 << 16)
#define BUFFER_SIZE_MASK (BUFFER_SIZE - 1)
#ifdef __LIBRETRO__
#define GBA_SOUND_FREQUENCY (64 * 1024)
#endif
#define GBA_XTAL 16777216.0f
#define GBA_60HZ_RATE 16853760.0f /* 228*(272+960)*60 */