diff options
author | Mark Farrugia <mark.farrugia@fiberdyne.com.au> | 2019-04-04 10:28:56 +1100 |
---|---|---|
committer | Mark Farrugia <mark.farrugia@fiberdyne.com.au> | 2019-04-04 10:32:46 +1100 |
commit | 2f73499dd43cc9f27c30f8267d14281beec6a785 (patch) | |
tree | 6a0a92d3234747ae9037d3e5471ee0b38a258762 /include | |
parent | c6e6cf2c36b08504bae115ddab97b45abc3750c7 (diff) |
Revamp write and read macros, add route retrieval functions
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Diffstat (limited to 'include')
-rw-r--r-- | include/avirt/avirt.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/include/avirt/avirt.h b/include/avirt/avirt.h index 46c2c19..9389f47 100644 --- a/include/avirt/avirt.h +++ b/include/avirt/avirt.h @@ -37,10 +37,6 @@ struct snd_avirt_audiopath { const char *uid; /* Unique identifier */ const char *name; /* Pretty name */ unsigned int version[3]; /* Version - Major.Minor.Ext */ - - // MUST be at the end - struct snd_avirt_audiopath *route_from_ap; - struct snd_avirt_audiopath *route_to_ap; }; /* @@ -57,11 +53,11 @@ struct snd_avirt_stream { * Audio routing */ struct snd_avirt_route { - const char name[MAX_NAME_LEN]; /* Route name */ + char name[MAX_NAME_LEN]; /* Route name */ unsigned int channels; /* Route channel count */ unsigned int direction; /* Stream direction */ - struct snd_avirt_audiopath *from_ap; - struct snd_avirt_audiopath *to_ap; + char source_ap[MAX_NAME_LEN]; + char sink_ap[MAX_NAME_LEN]; }; /** |