• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/src/pcm/

Lines Matching defs:pcm

2  * \file pcm/pcm_adpcm.c
324 static int snd_pcm_adpcm_hw_refine_cprepare(snd_pcm_t *pcm, snd_pcm_hw_params_t *params)
326 snd_pcm_adpcm_t *adpcm = pcm->private_data;
351 static int snd_pcm_adpcm_hw_refine_sprepare(snd_pcm_t *pcm, snd_pcm_hw_params_t *sparams)
353 snd_pcm_adpcm_t *adpcm = pcm->private_data;
363 static int snd_pcm_adpcm_hw_refine_schange(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *params,
381 static int snd_pcm_adpcm_hw_refine_cchange(snd_pcm_t *pcm ATTRIBUTE_UNUSED, snd_pcm_hw_params_t *params,
399 static int snd_pcm_adpcm_hw_refine(snd_pcm_t *pcm, snd_pcm_hw_params_t *params)
401 return snd_pcm_hw_refine_slave(pcm, params,
409 static int snd_pcm_adpcm_hw_params(snd_pcm_t *pcm, snd_pcm_hw_params_t * params)
411 snd_pcm_adpcm_t *adpcm = pcm->private_data;
413 int err = snd_pcm_hw_params_slave(pcm, params,
425 if (pcm->stream == SND_PCM_STREAM_PLAYBACK) {
449 static int snd_pcm_adpcm_hw_free(snd_pcm_t *pcm)
451 snd_pcm_adpcm_t *adpcm = pcm->private_data;
457 static int snd_pcm_adpcm_init(snd_pcm_t *pcm)
459 snd_pcm_adpcm_t *adpcm = pcm->private_data;
461 for (k = 0; k < pcm->channels; ++k) {
469 snd_pcm_adpcm_write_areas(snd_pcm_t *pcm,
477 snd_pcm_adpcm_t *adpcm = pcm->private_data;
482 pcm->channels, size,
489 snd_pcm_adpcm_read_areas(snd_pcm_t *pcm,
497 snd_pcm_adpcm_t *adpcm = pcm->private_data;
502 pcm->channels, size,
508 static void snd_pcm_adpcm_dump(snd_pcm_t *pcm, snd_output_t *out)
510 snd_pcm_adpcm_t *adpcm = pcm->private_data;
513 if (pcm->setup) {
515 snd_pcm_dump_setup(pcm, out);
550 snd_pcm_t *pcm;
569 err = snd_pcm_new(&pcm, SND_PCM_TYPE_ADPCM, name, slave->stream, slave->mode);
574 pcm->ops = &snd_pcm_adpcm_ops;
575 pcm->fast_ops = &snd_pcm_plugin_fast_ops;
576 pcm->private_data = adpcm;
577 pcm->poll_fd = slave->poll_fd;
578 pcm->poll_events = slave->poll_events;
579 pcm->monotonic = slave->monotonic;
580 snd_pcm_set_hw_ptr(pcm, &adpcm->plug.hw_ptr, -1, 0);
581 snd_pcm_set_appl_ptr(pcm, &adpcm->plug.appl_ptr, -1, 0);
582 *pcmp = pcm;
596 pcm.name {
601 pcm STR # Slave PCM name
603 pcm { } # Slave PCM definition