diff options
author | Max Kellermann <max@duempel.org> | 2013-08-04 23:48:01 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-08-04 23:48:01 +0200 |
commit | 85b77b81caa40f8bcd03921380246cb5863d5d21 (patch) | |
tree | cf4bc60a6760c52bcbd642a253b45f3bc5ad8775 /src/pcm/PcmDsdUsb.cxx | |
parent | 5bf2ec5a74bb1247a8cc84e90577eecbee116c62 (diff) | |
download | mpd-85b77b81caa40f8bcd03921380246cb5863d5d21.tar.gz mpd-85b77b81caa40f8bcd03921380246cb5863d5d21.tar.xz mpd-85b77b81caa40f8bcd03921380246cb5863d5d21.zip |
*: use gcc.h macros instead of GLib
Diffstat (limited to 'src/pcm/PcmDsdUsb.cxx')
-rw-r--r-- | src/pcm/PcmDsdUsb.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pcm/PcmDsdUsb.cxx b/src/pcm/PcmDsdUsb.cxx index 7d58dec4d..2d0f33a15 100644 --- a/src/pcm/PcmDsdUsb.cxx +++ b/src/pcm/PcmDsdUsb.cxx @@ -22,14 +22,14 @@ #include "PcmBuffer.hxx" #include "AudioFormat.hxx" -G_GNUC_CONST +constexpr static inline uint32_t pcm_two_dsd_to_usb_marker1(uint8_t a, uint8_t b) { return 0xff050000 | (a << 8) | b; } -G_GNUC_CONST +constexpr static inline uint32_t pcm_two_dsd_to_usb_marker2(uint8_t a, uint8_t b) { |