Code: Select all
/* set SPU volume and sampling rate */
//
// in AVI player, firmware will set sampling rate automatically
//
spuOpen(eDRVSPU_FREQ_44100);
//
// max: 100
//
spuIoctl(SPU_IOCTL_SET_VOLUME, 100, 100);
AVI sample code is in BSP: \N9H26_emWin_NonOS-master\BSP\SampleCode\AVI