aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_resample_fallback.c
diff options
context:
space:
mode:
authorThomas Jansen <mithi@mithi.net>2008-11-24 14:44:17 +0100
committerThomas Jansen <mithi@mithi.net>2008-11-24 14:44:17 +0100
commit87751ddbd0b4acad2f0575795dccb192c1e093e5 (patch)
treed788dec1ea01e04cdb8415d846c036d70ed010b4 /src/pcm_resample_fallback.c
parent34b1a9061ebda061b360bb54e8231cef0f691fd7 (diff)
downloadmpd-87751ddbd0b4acad2f0575795dccb192c1e093e5.tar.gz
mpd-87751ddbd0b4acad2f0575795dccb192c1e093e5.tar.xz
mpd-87751ddbd0b4acad2f0575795dccb192c1e093e5.zip
pcm_resample_fallback.c: replaced mpd_unused by G_GNUC_UNUSED
Diffstat (limited to '')
-rw-r--r--src/pcm_resample_fallback.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pcm_resample_fallback.c b/src/pcm_resample_fallback.c
index da7dcaabe..a55efb824 100644
--- a/src/pcm_resample_fallback.c
+++ b/src/pcm_resample_fallback.c
@@ -18,18 +18,18 @@
*/
#include "pcm_resample.h"
-#include "gcc.h"
#include <assert.h>
+#include <glib.h>
/* resampling code blatantly ripped from ESD */
size_t
pcm_resample_16(uint8_t channels,
unsigned src_rate,
- const int16_t *src_buffer, mpd_unused size_t src_size,
+ const int16_t *src_buffer, G_GNUC_UNUSED size_t src_size,
unsigned dest_rate,
int16_t *dest_buffer, size_t dest_size,
- mpd_unused struct pcm_resample_state *state)
+ G_GNUC_UNUSED struct pcm_resample_state *state)
{
unsigned src_pos, dest_pos = 0;
unsigned dest_samples = dest_size / sizeof(*dest_buffer);
@@ -62,10 +62,10 @@ pcm_resample_16(uint8_t channels,
size_t
pcm_resample_24(uint8_t channels,
unsigned src_rate,
- const int32_t *src_buffer, mpd_unused size_t src_size,
+ const int32_t *src_buffer, G_GNUC_UNUSED size_t src_size,
unsigned dest_rate,
int32_t *dest_buffer, size_t dest_size,
- mpd_unused struct pcm_resample_state *state)
+ G_GNUC_UNUSED struct pcm_resample_state *state)
{
unsigned src_pos, dest_pos = 0;
unsigned dest_samples = dest_size / sizeof(*dest_buffer);