diff options
author | 2016-06-14 11:44:45 +0200 | |
---|---|---|
committer | 2016-10-11 17:09:07 +0200 | |
commit | acb229813f5845e8b38bea56870211319887f3b4 (patch) | |
tree | 207d1aaffe0e2a0444e035d02311a326e60bc94a /zone.c | |
parent | 9dc64e1e291d6518da0a918105c5bf7b1c603dd5 (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 'zone.c')
-rw-r--r-- | zone.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -21,29 +21,29 @@ */ #include "zone.h" -struct pa_zoneset { +struct agl_zoneset { struct { pa_hashmap *hash; agl_zone *index[AGL_ZONE_MAX]; } zones; }; -pa_zoneset *pa_zoneset_init (struct userdata *u) +agl_zoneset *agl_zoneset_init (struct userdata *u) { - pa_zoneset *zs; + agl_zoneset *zs; pa_assert (u); - zs = pa_xnew0 (pa_zoneset, 1); + zs = pa_xnew0 (agl_zoneset, 1); zs->zones.hash = pa_hashmap_new (pa_idxset_string_hash_func, pa_idxset_string_compare_func); return zs; } -void pa_zoneset_done (struct userdata *u) +void agl_zoneset_done (struct userdata *u) { - pa_zoneset *zs; + agl_zoneset *zs; void *state; agl_zone *zone; |