aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-09-03 15:18:18 +1000
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-26 17:27:30 +1100
commitf7f995a28c82c126619858ed40b92b5f33ddf2fe (patch)
tree1b38879712fd3bc219e7343baf37554390a0d137
parentbde87475ff7d229619eb090af58c7e496bd3fa60 (diff)
Remove test 'value' parameter from avirt_audiopath
This is not required any longer Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
-rw-r--r--core.h1
-rw-r--r--dummy/dummy.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/core.h b/core.h
index 7a562f4..a31c916 100644
--- a/core.h
+++ b/core.h
@@ -34,7 +34,6 @@ typedef int (*avirt_buff_complete)(struct snd_pcm_substream *substream);
struct avirt_audiopath {
const char *name;
unsigned version[3];
- int value;
struct snd_pcm_hardware *hw;
struct snd_pcm_ops *pcm_ops;
unsigned blocksize;
diff --git a/dummy/dummy.c b/dummy/dummy.c
index cd5295f..54d4dcc 100644
--- a/dummy/dummy.c
+++ b/dummy/dummy.c
@@ -246,7 +246,6 @@ static struct snd_pcm_hardware dummyap_hw = {
static struct avirt_audiopath dummyap_module = {
.name = "Dummy Audio Path",
.version = { 0, 0, 1 },
- .value = 10,
.hw = &dummyap_hw,
.pcm_ops = &dummyap_pcm_ops,
.blocksize = DUMMY_BLOCKSIZE,