mirror of https://github.com/stella-emu/stella.git
Updated Mac OSX specific sound generation for Brads new sound changes
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@267 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
9e287b0e8c
commit
7975fa9ce3
|
@ -600,7 +600,7 @@ void Tia_process (register unsigned char *buffer, register uint16 n)
|
|||
|
||||
/* calculate the latest output value and place in buffer */
|
||||
#ifdef MAC_OSX
|
||||
*(buffer++) = (outvol_0 + outvol_1)/2 + 128;
|
||||
*(buffer++) = ((uint8) ((((uint32)outvol_0 + (uint32)outvol_1) * volume) / 100))/2 + 128;
|
||||
#else
|
||||
*(buffer++) = ((((uint32)outvol_0 + (uint32)outvol_1) * volume) / 100);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue