From 27e7148405e5c78acb619bc651db837d307536d4 Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Fri, 19 Sep 2014 22:14:31 +0200 Subject: [PATCH] Use STOB() in player.c since it is defined right in player.h --- src/player.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/player.c b/src/player.c index 7c5603b5..7d75546b 100644 --- a/src/player.c +++ b/src/player.c @@ -1590,7 +1590,7 @@ source_read(uint8_t *buf, int len, uint64_t rtptime) static void playback_write(void) { - uint8_t rawbuf[AIRTUNES_V2_PACKET_SAMPLES * 2 * 2]; + uint8_t rawbuf[STOB(AIRTUNES_V2_PACKET_SAMPLES)]; int ret; source_check();