Home
last modified time | relevance | path

Searched refs:pcm (Results 1 - 7 of 7) sorted by relevance

/drivers/peripheral/audio/supportlibs/adm_adapter/src/
H A Daudio_interface_lib_common.c41 static int32_t AudioMixerCtlElemList(AudioPcmType pcm, OpCode cmd, const struct HdfIoService *service, void *data);
42 static int32_t AudioMixerCtlGetElemProp(AudioPcmType pcm, OpCode cmd, const struct HdfIoService *service, void *data);
43 static int32_t AudioMixerCtlSetElemProp(AudioPcmType pcm, OpCode cmd, const struct HdfIoService *service, void *data);
44 static int32_t AudioGetAllCardList(AudioPcmType pcm, OpCode cmd, const struct HdfIoService *service, void *data);
694 static int32_t AudioMixerCtlElemList(AudioPcmType pcm, OpCode cmd, const struct HdfIoService *service, void *data) in AudioMixerCtlElemList() argument
698 if (pcm == PCM_CAPTURE) { in AudioMixerCtlElemList()
813 static int32_t AudioGetAllCardList(AudioPcmType pcm, OpCode cmd, const struct HdfIoService *service, void *data) in AudioGetAllCardList() argument
815 (void)pcm; in AudioGetAllCardList()
827 static int32_t AudioMixerCtlElemRoute(AudioPcmType pcm, const struct HdfIoService *service, OpCode cmd, void *data) in AudioMixerCtlElemRoute() argument
835 if (pcm in AudioMixerCtlElemRoute()
1319 AudioMixerCtlGetElemProp(AudioPcmType pcm, OpCode cmd, const struct HdfIoService *service, void *data) AudioMixerCtlGetElemProp() argument
1347 AudioMixerCtlSetElemProp(AudioPcmType pcm, OpCode cmd, const struct HdfIoService *service, void *data) AudioMixerCtlSetElemProp() argument
1355 AudioMixerCtlElem(AudioPcmType pcm, const struct HdfIoService *service, struct AudioMixerContents *mixerCts) AudioMixerCtlElem() argument
1368 AudioMixerCtlGetElem(AudioPcmType pcm, const struct HdfIoService *srv, struct AudioMixerCtlElemInfo *infoData) AudioMixerCtlGetElem() argument
1381 AudioMixerCtlSetElem( AudioPcmType pcm, const struct HdfIoService *service, struct AudioMixerCtlElemInfo *infoData) AudioMixerCtlSetElem() argument
[all...]
/drivers/peripheral/audio/supportlibs/alsa_adapter/src/
H A Dalsa_snd_render.c450 static int32_t QueryChmaps(snd_pcm_t *pcm) in QueryChmaps() argument
455 snd_pcm_chmap_query_t **hwChmap = snd_pcm_query_chmaps(pcm); in QueryChmaps()
474 static int32_t SetChmap(snd_pcm_t *pcm, struct AudioPcmHwParams *hwRenderParams) in SetChmap() argument
487 if (snd_pcm_set_chmap(pcm, chmap) < 0) { in SetChmap()
494 chmap = snd_pcm_get_chmap(pcm); in SetChmap()
552 static int32_t RenderWritei(snd_pcm_t *pcm, const struct AudioHwRenderParam *handleData, in RenderWritei() argument
559 snd_pcm_state_t state = snd_pcm_state(pcm); in RenderWritei()
561 ret = snd_pcm_prepare(pcm); in RenderWritei()
572 long frames = snd_pcm_writei(pcm, dataBuf, sbufFrameSize); in RenderWritei()
577 snd_pcm_wait(pcm, PCM_WAIT_TIMEOUT_M in RenderWritei()
[all...]
H A Dalsa_snd_capture.c529 static int32_t CapturePcmReadi(snd_pcm_t *pcm, uint64_t *frameCnt, char *dataBuf, snd_pcm_uframes_t bufSize) in CapturePcmReadi() argument
532 CHECK_NULL_PTR_RETURN_DEFAULT(pcm); in CapturePcmReadi()
543 long frames = snd_pcm_readi(pcm, dataBuf, bufSize); in CapturePcmReadi()
551 ret = snd_pcm_prepare(pcm); in CapturePcmReadi()
561 ret = snd_pcm_recover(pcm, frames, 0); // 0 for open capture recover log. in CapturePcmReadi()
567 ret = snd_pcm_start(pcm); in CapturePcmReadi()
/drivers/peripheral/audio/supportlibs/adm_adapter/include/
H A Daudio_interface_lib_mixer.h74 typedef int32_t (*AudioMixer)(AudioPcmType pcm, OpCode cmd, const struct HdfIoService *service, void *data);
/drivers/peripheral/audio/test/audio_utils/audio_mixer/
H A Daudio_mixer.h163 int32_t GetLibsoHandle(AudioPcmType pcm);
H A Daudio_mixer_main.c70 printf(" -P, --pcm N select the PCM type(1: reader/2: capture), default 1\n"); in ShowUsage()
579 {"pcm", 1, NULL, 'P'}, in main()
H A Daudio_mixer.c160 int32_t GetLibsoHandle(AudioPcmType pcm) in GetLibsoHandle() argument
164 g_pcmT = pcm; in GetLibsoHandle()
165 switch (pcm) { in GetLibsoHandle()

Completed in 10 milliseconds