Home | History | Annotate | Download | only in dc

Lines Matching refs:vol

146    vol is the volume, 0 to 0xff (0xff is louder)
151 void aica_play(int ch,int mode,unsigned long smpptr,int loopst,int loopend,int freq,int vol,int pan,int loopflag) {
185 /* Vol starts at zero so we can ramp */
186 vol = AICA_VOL(vol);
187 CHNREG32(ch, 40) = 0x24 | (vol<<8);
189 /* Vol starts at zero so we can ramp */
218 for (i=0xff; i>=vol; i--) {
238 void aica_vol(int ch,int vol) {
239 // g2_write_8(CHNREGADDR(ch, 41),AICA_VOL(vol));
240 g2_write_32(CHNREGADDR(ch, 40),(g2_read_32(CHNREGADDR(ch, 40))&0xffff00ff)|(AICA_VOL(vol)<<8) );