diff options
Diffstat (limited to 'byteswap.c')
-rw-r--r-- | byteswap.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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, |