summaryrefslogtreecommitdiffstats
path: root/loopback.h
diff options
context:
space:
mode:
authorManuel Bachmann <manuel.bachmann@iot.bzh>2016-06-14 11:44:45 +0200
committerYannick Gicquel <yannick.gicquel@iot.bzh>2016-10-11 17:09:07 +0200
commitacb229813f5845e8b38bea56870211319887f3b4 (patch)
tree207d1aaffe0e2a0444e035d02311a326e60bc94a /loopback.h
parent9dc64e1e291d6518da0a918105c5bf7b1c603dd5 (diff)
Rename all internal pa_ definitions to agl_
The plugin often uses "pa_" for its internal structures and functions, which is misleading because this prefix is also used by PulseAudio itself. Thus, reading the code can be confusing. Rename everything to "agl_". Change-Id: Iadd03daf528ec0cbed1cb526aeb3bada757a211f Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
Diffstat (limited to 'loopback.h')
-rw-r--r--loopback.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/loopback.h b/loopback.h
index 27cdef9..ffa27ac 100644
--- a/loopback.h
+++ b/loopback.h
@@ -29,30 +29,30 @@
#include "userdata.h"
-typedef struct pa_loopnode pa_loopnode;
-struct pa_loopnode {
- PA_LLIST_FIELDS(pa_loopnode);
+typedef struct agl_loopnode agl_loopnode;
+struct agl_loopnode {
+ PA_LLIST_FIELDS(agl_loopnode);
uint32_t module_index;
uint32_t node_index;
uint32_t sink_input_index;
uint32_t source_output_index;
};
-typedef struct pa_loopback {
- PA_LLIST_HEAD(pa_loopnode, loopnodes);
-} pa_loopback;
+typedef struct agl_loopback {
+ PA_LLIST_HEAD(agl_loopnode, loopnodes);
+} agl_loopback;
typedef enum {
- PA_LOOPNODE_TYPE_UNKNOWN = 0,
- PA_LOOPNODE_SOURCE,
- PA_LOOPNODE_SINK,
-} pa_loopnode_type;
+ AGL_LOOPNODE_TYPE_UNKNOWN = 0,
+ AGL_LOOPNODE_SOURCE,
+ AGL_LOOPNODE_SINK,
+} agl_loopnode_type;
-pa_loopback *pa_loopback_init (void);
-void pa_loopback_done (struct userdata *, pa_loopback *);
+agl_loopback *agl_loopback_init (void);
+void agl_loopback_done (struct userdata *, agl_loopback *);
-pa_loopnode *pa_loopnode_create (struct userdata *, pa_loopnode_type,
- uint32_t, uint32_t, uint32_t);
-void pa_loopnode_destroy (struct userdata *, pa_loopnode *);
+agl_loopnode *agl_loopnode_create (struct userdata *, agl_loopnode_type,
+ uint32_t, uint32_t, uint32_t);
+void agl_loopnode_destroy (struct userdata *, agl_loopnode *);
#endif