author | llornkcor <llornkcor> | 2004-08-06 18:53:51 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2004-08-06 18:53:51 (UTC) |
commit | 75675815cb051e14bf8ad50c4069338bfa83eed1 (patch) (side-by-side diff) | |
tree | d09364d5fac22ce9c521ffc010030b8492ff7cdf | |
parent | cf4207c5c299812e46f40aaee307100f58317a97 (diff) | |
download | opie-75675815cb051e14bf8ad50c4069338bfa83eed1.zip opie-75675815cb051e14bf8ad50c4069338bfa83eed1.tar.gz opie-75675815cb051e14bf8ad50c4069338bfa83eed1.tar.bz2 |
use openzaurus dsp
-rw-r--r-- | noncore/multimedia/opierec/qtrec.cpp | 8 |
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 @@ -64,15 +64,21 @@ static int deviceBitRates[] = { 8, 16, -1 }; #endif #if defined(QT_QWS_SL5XXX) ///#if defined(QT_QWS_EBX) #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 #define DSPSTROUT "/dev/dsp" #define DSPSTRIN "/dev/dsp" #define DSPSTRMIXERIN "/dev/mixer" |