summaryrefslogtreecommitdiffstats
path: root/alsa-pcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'alsa-pcm.c')
-rw-r--r--alsa-pcm.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/alsa-pcm.c b/alsa-pcm.c
index 8c01c36..c5ff0b0 100644
--- a/alsa-pcm.c
+++ b/alsa-pcm.c
@@ -230,18 +230,9 @@ static int pcm_prepare(struct snd_pcm_substream *substream)
*/
static int pcm_trigger(struct snd_pcm_substream *substream, int cmd)
{
- struct avirt_alsa_dev_group *group;
-
- DINFO(AP_LOGNAME, "");
-
- group = avirt_alsa_get_dev_group(substream->stream);
- CHK_NULL(group);
-
switch (cmd) {
case SNDRV_PCM_TRIGGER_START:
case SNDRV_PCM_TRIGGER_RESUME:
- group->streams[substream->pcm->device].substream = substream;
- break;
case SNDRV_PCM_TRIGGER_STOP:
case SNDRV_PCM_TRIGGER_SUSPEND:
break;