Lines Matching refs:pan
147 pan is a panning constant -- 0 is left, 128 is center, 255 is right.
151 void aica_play(int ch,int mode,unsigned long smpptr,int loopst,int loopend,int freq,int vol,int pan,int loopflag) {
181 /* Set volume, pan, and some other things that we don't know what
183 CHNREG32(ch, 36) = AICA_PAN(pan) | (0xf<<8);
184 /* Convert the incoming volume and pan into hardware values */
188 /* Convert the incoming volume and pan into hardware values */
244 /* Set channel pan */
245 void aica_pan(int ch,int pan) {
246 // g2_write_8(CHNREGADDR(ch, 36),AICA_PAN(pan));
247 g2_write_32(CHNREGADDR(ch, 36),(g2_read_32(CHNREGADDR(ch, 36))&0xffffff00)|(AICA_PAN(pan)) );