mirror of
https://github.com/trudnai/Steve2.git
synced 2024-06-13 09:29:36 +00:00
casting to unsigned to avoid stereo channel confusion in sound generation
This commit is contained in:
parent
1664fb4604
commit
69aaaedd86
|
@ -58,7 +58,7 @@
|
|||
|
||||
|
||||
// calculates number of cycles in one frame
|
||||
#define MHZ(mhz) ( (mhz) * M )
|
||||
#define MHZ(mhz) ( (unsigned)( (mhz) * M ) )
|
||||
#define FRAME(mhz) ( MHZ(mhz) / fps )
|
||||
#define FRAME_INIT(mhz) ( MHZ(mhz) / DEFAULT_FPS )
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user