From 2f73499dd43cc9f27c30f8267d14281beec6a785 Mon Sep 17 00:00:00 2001 From: Mark Farrugia Date: Thu, 4 Apr 2019 10:28:56 +1100 Subject: Revamp write and read macros, add route retrieval functions Signed-off-by: Mark Farrugia --- include/avirt/avirt.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'include/avirt/avirt.h') 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]; }; /** -- cgit 1.2.3-korg