summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-07-04 13:50:16 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-07-04 13:50:16 +0000
commitb6caf99e1fef438a58cd0b5e63137b31597942ab (patch)
tree6af5c96496d6392dd7fd4855ba477ac6725332be /firmware/target/hosted
parent3982f1e9322184de6bb15bbe8d04476d8bc11601 (diff)
downloadrockbox-b6caf99e1fef438a58cd0b5e63137b31597942ab.tar.gz
rockbox-b6caf99e1fef438a58cd0b5e63137b31597942ab.tar.bz2
rockbox-b6caf99e1fef438a58cd0b5e63137b31597942ab.zip
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
Diffstat (limited to 'firmware/target/hosted')
-rw-r--r--firmware/target/hosted/sdl/pcm-sdl.c9
1 files changed, 9 insertions, 0 deletions
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 */