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
This commit is contained in:
Rafaël Carré 2010-07-04 13:50:16 +00:00
parent 3982f1e932
commit b6caf99e1f

View file

@ -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 */