diff options
author | Max Kellermann <max@duempel.org> | 2009-01-05 08:17:22 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-05 08:17:22 +0100 |
commit | ac0fe98ffb9efc1bb7faf6110ec728424003ba42 (patch) | |
tree | 72719dcb49d47c90f38c6a618550a5c1d1dee1cf /src/output/osx_plugin.c | |
parent | c844bd602dc6b92f53e7ec7baf20062404bf5683 (diff) | |
download | mpd-ac0fe98ffb9efc1bb7faf6110ec728424003ba42.tar.gz mpd-ac0fe98ffb9efc1bb7faf6110ec728424003ba42.tar.xz mpd-ac0fe98ffb9efc1bb7faf6110ec728424003ba42.zip |
use GLib byte order macros
Diffstat (limited to '')
-rw-r--r-- | src/output/osx_plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/osx_plugin.c b/src/output/osx_plugin.c index ad4128d34..43d81bd76 100644 --- a/src/output/osx_plugin.c +++ b/src/output/osx_plugin.c @@ -264,7 +264,7 @@ osx_openDevice(void *data, struct audio_format *audioFormat) streamDesc.mSampleRate = audioFormat->sample_rate; streamDesc.mFormatID = kAudioFormatLinearPCM; streamDesc.mFormatFlags = kLinearPCMFormatFlagIsSignedInteger; -#ifdef WORDS_BIGENDIAN +#ifdef G_BYTE_ORDER == G_BIG_ENDIAN streamDesc.mFormatFlags |= kLinearPCMFormatFlagIsBigEndian; #endif |