** 'rate' is sampling rate and 'bufsiz' is the size of the
** buffer that should be updated at each interval
*/
-int YMInit(int num, int clock, int rate, int sample_bits, int bufsiz, SAMPLE ** buffer)
+int YMInit(int num, int clock, int rate, int sample_bits, int bufsiz)//, SAMPLE ** buffer)
{
int i;
for(i=0; i<YMNumChips; i++)
{
- YMPSG[i].Buf = buffer[i];
+ YMPSG[i].Buf = 0;//buffer[i];
YMPSG[i].bufp = 0;
YMResetChip(i);
}