diff options
author | 2019-04-04 10:28:56 +1100 | |
---|---|---|
committer | 2019-04-04 10:28:56 +1100 | |
commit | 27e3e592b4da3a503826486a8ea922cb0a7ad750 (patch) | |
tree | 3c5ae62d5bffe3c257d578f6f3c03b3a2b4f25e2 /include | |
parent | 693aa3ed7c0bd83bd2026ba00ade47c845520fbf (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]; }; /** |