summaryrefslogtreecommitdiffstats
path: root/byteswap.c
diff options
context:
space:
mode:
Diffstat (limited to 'byteswap.c')
-rw-r--r--byteswap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/byteswap.c b/byteswap.c
index addd572..8ae0b7a 100644
--- a/byteswap.c
+++ b/byteswap.c
@@ -41,9 +41,9 @@ static void byteswap32(void *_dst, size_t dstr, const void *_src, size_t sstr, s
}
}
-byteswap_func_t get_byteswap_func(sa_pcm_format_t f) {
+sa_byteswap_func_t sa_get_byteswap_func(sa_pcm_format_t f) {
- static const byteswap_func_t funcs[_SA_PCM_FORMAT_MAX] = {
+ static const sa_byteswap_func_t funcs[_SA_PCM_FORMAT_MAX] = {
[SA_PCM_FORMAT_S16_RE] = byteswap16,
[SA_PCM_FORMAT_S24_RE] = byteswap24,
[SA_PCM_FORMAT_S32_RE] = byteswap32,