From 85b77b81caa40f8bcd03921380246cb5863d5d21 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 4 Aug 2013 23:48:01 +0200 Subject: *: use gcc.h macros instead of GLib --- src/pcm/PcmDsdUsb.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pcm/PcmDsdUsb.cxx') 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) { -- cgit v1.2.3