diff options
-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 | ||