Searched refs:audioReq (Results 1 – 1 of 1) sorted by relevance
/hal_nxp-3.5.0/mcux/mcux-sdk/components/srtm/services/ |
D | srtm_audio_service.c | 236 struct _srtm_audio_payload *audioReq; in SRTM_AudioService_Request() local 246 audioReq = (struct _srtm_audio_payload *)(void *)SRTM_CommMessage_GetPayload(request); in SRTM_AudioService_Request() 260 …if ((status != SRTM_Status_Success) || (audioReq == NULL) || (payloadLen != sizeof(struct _srtm_au… in SRTM_AudioService_Request() 263 audioRespBuf[0] = (audioReq != NULL) ? audioReq->index : 0U; in SRTM_AudioService_Request() 268 audioRespBuf[0] = audioReq->index; in SRTM_AudioService_Request() 376 … status = sai->setParam(sai, SRTM_AudioDirTx, iface->index, audioReq->format, audioReq->channels, in SRTM_AudioService_Request() 377 audioReq->srate); in SRTM_AudioService_Request() 380 … codec->setParam(codec, iface->index, audioReq->format, audioReq->srate) : in SRTM_AudioService_Request() 388 … status = sai->setBuf(sai, SRTM_AudioDirTx, iface->index, (uint8_t *)audioReq->bufAddr, in SRTM_AudioService_Request() 389 … audioReq->bufSize, audioReq->periodSize, audioReq->periodIdx); in SRTM_AudioService_Request() [all …]
|