diff options
author | Manuel Bachmann <manuel.bachmann@iot.bzh> | 2016-06-14 11:44:45 +0200 |
---|---|---|
committer | Yannick Gicquel <yannick.gicquel@iot.bzh> | 2016-10-11 17:09:07 +0200 |
commit | acb229813f5845e8b38bea56870211319887f3b4 (patch) | |
tree | 207d1aaffe0e2a0444e035d02311a326e60bc94a /utils.h | |
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 'utils.h')
-rw-r--r-- | utils.h | 36 |
1 files changed, 18 insertions, 18 deletions
@@ -26,28 +26,28 @@ #include "userdata.h" -struct pa_null_sink; +struct agl_null_sink; -struct pa_null_sink *pa_utils_create_null_sink (struct userdata *, const char *); -void pa_utils_destroy_null_sink (struct userdata *, struct pa_null_sink *); -pa_sink *pa_utils_get_null_sink (struct userdata *, struct pa_null_sink *); -pa_source *pa_utils_get_null_source (struct userdata *, struct pa_null_sink *); +struct agl_null_sink *agl_utils_create_null_sink (struct userdata *, const char *); +void agl_utils_destroy_null_sink (struct userdata *, struct agl_null_sink *); +pa_sink *agl_utils_get_null_sink (struct userdata *, struct agl_null_sink *); +pa_source *agl_utils_get_null_source (struct userdata *, struct agl_null_sink *); /* general helper functions */ -const char *pa_utils_get_card_name (pa_card *); -const char *pa_utils_get_card_bus (pa_card *); -const char *pa_utils_get_sink_name (pa_sink *); -const char *pa_utils_get_source_name (pa_source *); -const char *pa_utils_get_sink_input_name (pa_sink_input *); -const char *pa_utils_get_source_output_name (pa_source_output *); -pa_sink *pa_utils_get_primary_alsa_sink (struct userdata *); -void pa_utils_init_stamp (void); -uint32_t pa_utils_new_stamp (void); -uint32_t pa_utils_get_stamp (void); +const char *agl_utils_get_card_name (pa_card *); +const char *agl_utils_get_card_bus (pa_card *); +const char *agl_utils_get_sink_name (pa_sink *); +const char *agl_utils_get_source_name (pa_source *); +const char *agl_utils_get_sink_input_name (pa_sink_input *); +const char *agl_utils_get_source_output_name (pa_source_output *); +pa_sink *agl_utils_get_primary_alsa_sink (struct userdata *); +void agl_utils_init_stamp (void); +uint32_t agl_utils_new_stamp (void); +uint32_t agl_utils_get_stamp (void); /* AM-oriented helper functions */ -char *pa_utils_get_zone (pa_proplist *, pa_proplist *); -bool pa_utils_set_stream_routing_properties (pa_proplist *, int, void *); -bool pa_utils_unset_stream_routing_properties (pa_proplist *); +char *agl_utils_get_zone (pa_proplist *, pa_proplist *); +bool agl_utils_set_stream_routing_properties (pa_proplist *, int, void *); +bool agl_utils_unset_stream_routing_properties (pa_proplist *); #endif |