From b6caf99e1fef438a58cd0b5e63137b31597942ab Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Sun, 4 Jul 2010 13:50:16 +0000 Subject: sim: add spdif_measure_frequency() stub for HAVE_SPDIF_IN git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27281 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/hosted/sdl/pcm-sdl.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/firmware/target/hosted/sdl/pcm-sdl.c b/firmware/target/hosted/sdl/pcm-sdl.c index 5591980217..7780083b99 100644 --- a/firmware/target/hosted/sdl/pcm-sdl.c +++ b/firmware/target/hosted/sdl/pcm-sdl.c @@ -33,6 +33,9 @@ #ifdef HAVE_RECORDING #include "audiohw.h" +#ifdef HAVE_SPDIF_IN +#include "spdif.h" +#endif #endif #include "pcm.h" @@ -300,6 +303,12 @@ void audiohw_set_recvol(int left, int right, int type) (void)type; } +#ifdef HAVE_SPDIF_IN +unsigned long spdif_measure_frequency(void) +{ + return 0; +} +#endif #endif /* HAVE_RECORDING */ -- cgit v1.2.3