author | llornkcor <llornkcor> | 2005-02-19 01:41:12 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2005-02-19 01:41:12 (UTC) |
commit | 42ff7b7515ef2220d3400c468f4cea5828f4faea (patch) (unidiff) | |
tree | 3358e973ff98fcd79311298ffc56c88e39c8b4eb /noncore/multimedia/opierec/waveform.cpp | |
parent | e24ddf0db8e3e4329caeb8d0bee5db87cec1d2da (diff) | |
download | opie-42ff7b7515ef2220d3400c468f4cea5828f4faea.zip opie-42ff7b7515ef2220d3400c468f4cea5828f4faea.tar.gz opie-42ff7b7515ef2220d3400c468f4cea5828f4faea.tar.bz2 |
simplify some things
Diffstat (limited to 'noncore/multimedia/opierec/waveform.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opierec/waveform.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/multimedia/opierec/waveform.cpp b/noncore/multimedia/opierec/waveform.cpp index 7c9a25f..d1838e1 100644 --- a/noncore/multimedia/opierec/waveform.cpp +++ b/noncore/multimedia/opierec/waveform.cpp | |||
@@ -44,7 +44,7 @@ void Waveform::changeSettings( int frequency, int channels ) | |||
44 | makePixmap(); | 44 | makePixmap(); |
45 | // owarn << "change waveform " << frequency << ", " << channels << "" << oendl; | 45 | // owarn << "change waveform " << frequency << ", " << channels << "" << oendl; |
46 | samplesPerPixel = frequency * channels / (5 * windowSize); | 46 | samplesPerPixel = frequency * channels / (5 * windowSize); |
47 | owarn << "Waveform::changeSettings " << samplesPerPixel << "" << oendl; | 47 | // owarn << "Waveform::changeSettings " << samplesPerPixel << "" << oendl; |
48 | if ( !samplesPerPixel ) | 48 | if ( !samplesPerPixel ) |
49 | samplesPerPixel = 1; | 49 | samplesPerPixel = 1; |
50 | currentValue = 0; | 50 | currentValue = 0; |