ext/alsa/gstalsa.c: Fix typo and compilation on big endian systems.

Original commit message from CVS:
* ext/alsa/gstalsa.c:
Fix typo and compilation on big endian systems.
This commit is contained in:
Tim-Philipp Müller 2007-08-29 14:22:04 +00:00
parent bed6719df7
commit af6eee1084
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2007-08-29 Tim-Philipp Müller <tim at centricular dot net>
* ext/alsa/gstalsa.c:
Fix typo and compilation on big endian systems.
2007-08-29 Tim-Philipp Müller <tim at centricular dot net>
* gst/subparse/gstssaparse.c:

View file

@ -96,9 +96,9 @@ static const struct
#if (G_BYTE_ORDER == G_LITTLE_ENDIAN) /* no endian-unspecific enum available */
24, 24, SND_PCM_FORMAT_S24_3LE, SND_PCM_FORMAT_U24_3LE}, {
#else
24, 24, SND_PCM_FORMAT_S24_3BE, SND_PCM_FORMAT_U24_3BE},}
24, 24, SND_PCM_FORMAT_S24_3BE, SND_PCM_FORMAT_U24_3BE}, {
#endif
32, 32, SND_PCM_FORMAT_S32, SND_PCM_FORMAT_U32}
32, 32, SND_PCM_FORMAT_S32, SND_PCM_FORMAT_U32}
};
static GstCaps *