Lines Matching refs:u16

85     u16 numChnsIn;
86 u16 numSamples;
87 u16 numDevices;
88 u16 numChnsOut; // when AX invokes callback, numChnsOut = numChnsIn;
99 u16 currentVolume;
115 u16 vol;
228 u16 format; // AX_PB_FORMAT_ADPCM, AX_PB_FORMAT_PCM8, or AX_PB_FORMAT_PCM16
229 u16 loopFlag;
245 u16 a[8][2]; // coef table a1[0],a2[0],a1[1],a2[1]....
247u16 gain; // gain to be applied (0 for ADPCM, 0x0800 for PCM16 and 0x0100 for P…
249 u16 pred_scale; // predictor / scale combination (nibbles, as in hardware)
250 u16 yn1; // y[n - 1]
251 u16 yn2; // y[n - 2]
269 u16 ratioHi; // sampling ratio, integer
270 u16 ratioLo; // sampling ratio, fraction
272 u16 currentAddressFrac; // current fractional sample position
274 u16 last_samples[4]; // last 4 input samples
290 u16 currentAddressFrac; // current fractional sample position
292 u16 last_samples[4]; // last 4 input samples
304 u16 loop_pred_scale; // predictor / scale combination (nibbles, as in hardware)
305 u16 loop_yn1; // y[n - 1]
306 u16 loop_yn2; // y[n - 2]
321 u16 on;
322 u16 yn1;
323 u16 a0;
324 u16 b0;
340 u16 on;
640 u16 loop_flag; // 1=LOOPED, 0=NOT LOOPED
641 u16 format; // Always 0x0000, for ADPCM
645 u16 coef[16]; // decode coefficients (eight pairs of 16-bit words)
646 u16 gain; // always zero for ADPCM
647 u16 ps; // predictor/scale
648 u16 yn1; // sample history
649 u16 yn2; // sample history
650 u16 lps; // predictor/scale for loop context
651 u16 lyn1; // sample history (n-1) for loop context
652 u16 lyn2; // sample history (n-2) for loop context
653u16 multi_ch_count; // number of interleaved adpcm channels (1 through 6) or 0 for single chann…
654u16 block_frame_count; // Number of ADPCM frames (8 bytes per frame) in each interleaved channel b…
655 u16 pad[9]; // reserved
666 u16 AXGetMasterVolume (void);
667 void AXSetMasterVolume (u16 volume);
679 void AXSetVoiceState (AXVPB *p, u16 state);
680 void AXSetVoiceType (AXVPB *p, u16 type);
683 void AXSetVoiceLoop (AXVPB *p, u16 loop);
702 void AXSetVoiceLpfCoefs (AXVPB *p, u16 a0, u16 b0);
704 void AXSetVoiceBiquadCoefs (AXVPB *p, u16 b0, u16 b1, u16 b2, u16 a1, u16 a2);
712 void AXComputeLpfCoefs (u16 freq, u16 *a0, u16 *b0);
714 void AXSetVoiceRmtOn (AXVPB *p, u16 on);
717 void AXSetVoiceRmtIIRCoefs (AXVPB *p, u16 type, ...);
806 AXPB_ERROR_CODE AXSetDeviceVolume(AXPBDeviceType device, u32 Id, u16 volume);
809 AXPB_ERROR_CODE AXGetDeviceVolume(AXPBDeviceType device, u32 Id, u16 *volume);
812 AXPB_ERROR_CODE AXSetAuxReturnVolume(AXPBDeviceType device, u32 Id, u32 auxId, u16 volume);
815 AXPB_ERROR_CODE AXGetAuxReturnVolume(AXPBDeviceType device, u32 Id, u32 auxId, u16 *volume);
818 AXPB_ERROR_CODE AXSetDeviceCompressor(AXPBDeviceType device, u16 on_off);
821 AXPB_ERROR_CODE AXSetDeviceCompressorTable(AXPBDeviceType device, u16* table, u16 frames);
823 void AXMakeCompressorTable (f32 gain, u16 frames, u16* table);
871 void AXSetMultiVoiceState (AXMVPB *mv, u16 state);
872 void AXSetMultiVoiceType (AXMVPB *mv, u16 type);
876 void AXSetMultiVoiceLoop (AXMVPB *mv, u16 loop);
882 void AXSetMultiVoiceLpfCoefs (AXMVPB *mv, u16 a0, u16 b0);
884 void AXSetMultiVoiceBiquadCoefs (AXMVPB *mv, u16 b0, u16 b1, u16 b2, u16 a1, u16 a2);
893 …VoiceDeviceMix (AXMVPB *mv, AXPBDeviceType device, u32 Id, AXPBBusType bus, u16 vol, s16 volDelta);
1032 u16 vL;
1034 u16 vR;
1037 u16 vAuxAL;
1039 u16 vAuxAR;
1042 u16 vAuxBL;
1044 u16 vAuxBR;
1047 u16 vAuxCL;
1049 u16 vAuxCR;
1052 u16 vS;
1054 u16 vAuxAS;
1056 u16 vAuxBS;
1058 u16 vAuxCS;
1067 u16 vL;
1069 u16 vR;
1072 u16 vAuxL;
1074 u16 vAuxR;
1077 u16 vS;
1079 u16 vAuxS;
1141 u16 vMain0;
1143 u16 vAux0;
1146 u16 vMain1;
1148 u16 vAux1;
1151 u16 vMain2;
1153 u16 vAux2;
1156 u16 vMain3;
1158 u16 vAux3;
1171 u16 flag; // on or off for this voice
1172 u16 bufferHi; // MRAM buffer
1173 u16 bufferLo; //
1174 u16 shiftL; // phase shift samples left (current)
1175 u16 shiftR; // phase shift samples right (current)
1176 u16 targetShiftL; // phase shift samples left (target)
1177 u16 targetShiftR; // phase shift samples right (target)
1298 u16 AXGetAuxAReturnVolume (void);
1299 u16 AXGetAuxBReturnVolume (void);
1300 u16 AXGetAuxCReturnVolume (void);
1301 void AXSetAuxAReturnVolume (u16 volume);
1302 void AXSetAuxBReturnVolume (u16 volume);
1303 void AXSetAuxCReturnVolume (u16 volume);
1307 void AXSetVoiceItdTarget (AXVPB *p, u16 lShift, u16 rShift);
1319 u16 AXGetMasterDRCVolume (void);
1320 void AXSetMasterDRCVolume (u16 volume);
1325 u16 AXGetDRCAuxReturnVolume (void);
1326 void AXSetDRCAuxReturnVolume (u16 volume);
1374 AXPB_ERROR_CODE AXSetVoiceInitialTimeDelay (AXVPB *p, u16 timeDelay);