summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2004-08-06 18:53:51 (UTC)
committer llornkcor <llornkcor>2004-08-06 18:53:51 (UTC)
commit75675815cb051e14bf8ad50c4069338bfa83eed1 (patch) (side-by-side diff)
treed09364d5fac22ce9c521ffc010030b8492ff7cdf
parentcf4207c5c299812e46f40aaee307100f58317a97 (diff)
downloadopie-75675815cb051e14bf8ad50c4069338bfa83eed1.zip
opie-75675815cb051e14bf8ad50c4069338bfa83eed1.tar.gz
opie-75675815cb051e14bf8ad50c4069338bfa83eed1.tar.bz2
use openzaurus dsp
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opierec/qtrec.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/noncore/multimedia/opierec/qtrec.cpp b/noncore/multimedia/opierec/qtrec.cpp
index e3385cd..1141faa 100644
--- a/noncore/multimedia/opierec/qtrec.cpp
+++ b/noncore/multimedia/opierec/qtrec.cpp
@@ -68,7 +68,13 @@ static int deviceBitRates[] = { 8, 16, -1 };
#define DSPSTROUT "/dev/dsp"
-#define DSPSTRIN "/dev/dsp1"
#define DSPSTRMIXEROUT "/dev/mixer"
+
+#ifdef SHARP
+#define DSPSTRIN "/dev/dsp1"
#define DSPSTRMIXERIN "/dev/mixer1"
+#else
+#define DSPSTRIN "/dev/dsp"
+#define DSPSTRMIXERIN "/dev/mixer"
+#endif
#else