mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
Removed dig_info & dig_params..
This commit is contained in:
parent
8dd927e97f
commit
c268a4bf56
22 changed files with 0 additions and 197 deletions
|
|
@ -217,34 +217,6 @@ static int snd_pcm_shm_sw_params(snd_pcm_t *pcm, snd_pcm_sw_params_t * params)
|
|||
return err;
|
||||
}
|
||||
|
||||
static int snd_pcm_shm_dig_info(snd_pcm_t *pcm, snd_pcm_dig_info_t * info)
|
||||
{
|
||||
snd_pcm_shm_t *shm = pcm->private;
|
||||
volatile snd_pcm_shm_ctrl_t *ctrl = shm->ctrl;
|
||||
int err;
|
||||
ctrl->cmd = SND_PCM_IOCTL_DIG_INFO;
|
||||
ctrl->u.dig_info = *info;
|
||||
err = snd_pcm_shm_action(pcm);
|
||||
if (err < 0)
|
||||
return err;
|
||||
*info = ctrl->u.dig_info;
|
||||
return err;
|
||||
}
|
||||
|
||||
static int snd_pcm_shm_dig_params(snd_pcm_t *pcm, snd_pcm_dig_params_t * params)
|
||||
{
|
||||
snd_pcm_shm_t *shm = pcm->private;
|
||||
volatile snd_pcm_shm_ctrl_t *ctrl = shm->ctrl;
|
||||
int err;
|
||||
ctrl->cmd = SND_PCM_IOCTL_DIG_PARAMS;
|
||||
ctrl->u.dig_params = *params;
|
||||
err = snd_pcm_shm_action(pcm);
|
||||
*params = ctrl->u.dig_params;
|
||||
if (err < 0)
|
||||
return err;
|
||||
return err;
|
||||
}
|
||||
|
||||
static int snd_pcm_shm_mmap(snd_pcm_t *pcm ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return 0;
|
||||
|
|
@ -474,8 +446,6 @@ snd_pcm_ops_t snd_pcm_shm_ops = {
|
|||
hw_refine: snd_pcm_shm_hw_refine,
|
||||
hw_params: snd_pcm_shm_hw_params,
|
||||
sw_params: snd_pcm_shm_sw_params,
|
||||
dig_info: snd_pcm_shm_dig_info,
|
||||
dig_params: snd_pcm_shm_dig_params,
|
||||
channel_info: snd_pcm_shm_channel_info,
|
||||
dump: snd_pcm_shm_dump,
|
||||
nonblock: snd_pcm_shm_nonblock,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue