summaryrefslogtreecommitdiffstats
path: root/core.c
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-08 16:59:57 +1100
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-26 17:27:40 +1100
commit3b2d2634474398bb40c64941c828a4cf6b363d4a (patch)
tree8224fd64a1a4898d0c126c6655b0dd8e5a0a1b2c /core.c
parentde58013ed69a18b28816894e4740ef4b71814bd9 (diff)
Fix DO_AUDIOPATH_CB, remove unused PCM cbs for now
We don't want to return inside the macro call necessarily. Some PCM cbs require differing return values. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Diffstat (limited to 'core.c')
-rw-r--r--core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core.c b/core.c
index f4f8310..1ea8107 100644
--- a/core.c
+++ b/core.c
@@ -198,6 +198,7 @@ static struct snd_pcm *pcm_create(struct avirt_stream *stream)
if (!strcmp(stream->map, "ap_loopback")) {
playback = true;
capture = true;
+ (&pcm_ops)->copy_user = NULL;
} else if (!stream->direction) {
playback = true;
} else {