@@ -162,7 +162,7 @@ static snd_pcm_format_t upipe_alsink_format_from_flow_def(struct uref *flow_def)
162162 else if (!ubase_ncmp (def , "s16be." ))
163163 format = SND_PCM_FORMAT_S16_BE ;
164164 else if (!ubase_ncmp (def , "s16." ))
165- #ifdef UPIPE_WORDS_BIGENDIAN
165+ #ifdef UBASE_BIGENDIAN
166166 format = SND_PCM_FORMAT_S16_BE ;
167167#else
168168 format = SND_PCM_FORMAT_S16_LE ;
@@ -172,7 +172,7 @@ static snd_pcm_format_t upipe_alsink_format_from_flow_def(struct uref *flow_def)
172172 else if (!ubase_ncmp (def , "u16be ."))
173173 format = SND_PCM_FORMAT_U16_BE ;
174174 else if (!ubase_ncmp (def , "u16 ."))
175- #ifdef UPIPE_WORDS_BIGENDIAN
175+ #ifdef UBASE_BIGENDIAN
176176 format = SND_PCM_FORMAT_U16_BE ;
177177#else
178178 format = SND_PCM_FORMAT_U16_LE ;
@@ -190,7 +190,7 @@ static snd_pcm_format_t upipe_alsink_format_from_flow_def(struct uref *flow_def)
190190 else if (!ubase_ncmp (def , "s32be ."))
191191 format = SND_PCM_FORMAT_S32_BE ;
192192 else if (!ubase_ncmp (def , "s32 ."))
193- #ifdef UPIPE_WORDS_BIGENDIAN
193+ #ifdef UBASE_BIGENDIAN
194194 format = SND_PCM_FORMAT_S32_BE ;
195195#else
196196 format = SND_PCM_FORMAT_S32_LE ;
@@ -200,7 +200,7 @@ static snd_pcm_format_t upipe_alsink_format_from_flow_def(struct uref *flow_def)
200200 else if (!ubase_ncmp (def , "u32be ."))
201201 format = SND_PCM_FORMAT_U32_BE ;
202202 else if (!ubase_ncmp (def , "u32 ."))
203- #ifdef UPIPE_WORDS_BIGENDIAN
203+ #ifdef UBASE_BIGENDIAN
204204 format = SND_PCM_FORMAT_U32_BE ;
205205#else
206206 format = SND_PCM_FORMAT_U32_LE ;
@@ -210,7 +210,7 @@ static snd_pcm_format_t upipe_alsink_format_from_flow_def(struct uref *flow_def)
210210 else if (!ubase_ncmp (def , "s24be ."))
211211 format = SND_PCM_FORMAT_S24_BE ;
212212 else if (!ubase_ncmp (def , "s24 ."))
213- #ifdef UPIPE_WORDS_BIGENDIAN
213+ #ifdef UBASE_BIGENDIAN
214214 format = SND_PCM_FORMAT_S24_BE ;
215215#else
216216 format = SND_PCM_FORMAT_S24_LE ;
@@ -220,7 +220,7 @@ static snd_pcm_format_t upipe_alsink_format_from_flow_def(struct uref *flow_def)
220220 else if (!ubase_ncmp (def , "u24be ."))
221221 format = SND_PCM_FORMAT_U24_BE ;
222222 else if (!ubase_ncmp (def , "u24 ."))
223- #ifdef UPIPE_WORDS_BIGENDIAN
223+ #ifdef UBASE_BIGENDIAN
224224 format = SND_PCM_FORMAT_U24_BE ;
225225#else
226226 format = SND_PCM_FORMAT_U24_LE ;
@@ -230,7 +230,7 @@ static snd_pcm_format_t upipe_alsink_format_from_flow_def(struct uref *flow_def)
230230 else if (!ubase_ncmp (def , "f32be ."))
231231 format = SND_PCM_FORMAT_FLOAT_BE ;
232232 else if (!ubase_ncmp (def , "f32 ."))
233- #ifdef UPIPE_WORDS_BIGENDIAN
233+ #ifdef UBASE_BIGENDIAN
234234 format = SND_PCM_FORMAT_FLOAT_BE ;
235235#else
236236 format = SND_PCM_FORMAT_FLOAT_LE ;
@@ -240,7 +240,7 @@ static snd_pcm_format_t upipe_alsink_format_from_flow_def(struct uref *flow_def)
240240 else if (!ubase_ncmp (def , "f64be ."))
241241 format = SND_PCM_FORMAT_FLOAT64_BE ;
242242 else if (!ubase_ncmp (def , "f64 ."))
243- #ifdef UPIPE_WORDS_BIGENDIAN
243+ #ifdef UBASE_BIGENDIAN
244244 format = SND_PCM_FORMAT_FLOAT64_BE ;
245245#else
246246 format = SND_PCM_FORMAT_FLOAT64_LE ;
0 commit comments