add: if(iounit->ChannelInfoStruct) { iounit->ChannelInfoStruct->ahie_Effect = (AHIET_CANCEL | AHIET_CHANNELINFO); AHI_SetEffect(iounit->ChannelInfoStruct, iounit->AudioCtrl); }
context: static void FreeHardware(struct AHIDevUnit *iounit,struct AHIBase *AHIBase){  if(iounit->AudioCtrl)  {    AHI_FreeAudio(iounit->AudioCtrl);    iounit->AudioCtrl = NULL;    iounit->IsRecording = FALSE;    iounit->IsPlaying = FALSE;    iounit->ValidRecord = FALSE;  }}