diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-07-04 13:50:16 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-07-04 13:50:16 +0000 |
commit | b6caf99e1fef438a58cd0b5e63137b31597942ab (patch) | |
tree | 6af5c96496d6392dd7fd4855ba477ac6725332be /firmware/target/hosted/sdl/pcm-sdl.c | |
parent | 3982f1e9322184de6bb15bbe8d04476d8bc11601 (diff) | |
download | rockbox-b6caf99e1fef438a58cd0b5e63137b31597942ab.tar.gz 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/sdl/pcm-sdl.c')
-rw-r--r-- | firmware/target/hosted/sdl/pcm-sdl.c | 9 |
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 @@ | |||
33 | 33 | ||
34 | #ifdef HAVE_RECORDING | 34 | #ifdef HAVE_RECORDING |
35 | #include "audiohw.h" | 35 | #include "audiohw.h" |
36 | #ifdef HAVE_SPDIF_IN | ||
37 | #include "spdif.h" | ||
38 | #endif | ||
36 | #endif | 39 | #endif |
37 | 40 | ||
38 | #include "pcm.h" | 41 | #include "pcm.h" |
@@ -300,6 +303,12 @@ void audiohw_set_recvol(int left, int right, int type) | |||
300 | (void)type; | 303 | (void)type; |
301 | } | 304 | } |
302 | 305 | ||
306 | #ifdef HAVE_SPDIF_IN | ||
307 | unsigned long spdif_measure_frequency(void) | ||
308 | { | ||
309 | return 0; | ||
310 | } | ||
311 | #endif | ||
303 | 312 | ||
304 | #endif /* HAVE_RECORDING */ | 313 | #endif /* HAVE_RECORDING */ |
305 | 314 | ||