author | llornkcor <llornkcor> | 2002-07-16 12:34:49 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-07-16 12:34:49 (UTC) |
commit | 59f2516bf4f693bae6e29fe1f50e21e92e79acb2 (patch) (unidiff) | |
tree | ec4d195e5021bfc284cadf71985e0d262900e858 | |
parent | 4d5c003d4602e5e5bdc42deba7587fc0b838c7fb (diff) | |
download | opie-59f2516bf4f693bae6e29fe1f50e21e92e79acb2.zip opie-59f2516bf4f693bae6e29fe1f50e21e92e79acb2.tar.gz opie-59f2516bf4f693bae6e29fe1f50e21e92e79acb2.tar.bz2 |
no audio device here ;(
-rw-r--r-- | noncore/multimedia/opieplayer2/mediaplayer.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/noncore/multimedia/opieplayer2/mediaplayer.cpp b/noncore/multimedia/opieplayer2/mediaplayer.cpp index 43e3133..13cc4ed 100644 --- a/noncore/multimedia/opieplayer2/mediaplayer.cpp +++ b/noncore/multimedia/opieplayer2/mediaplayer.cpp | |||
@@ -143,8 +143,10 @@ void MediaPlayer::timerEvent( QTimerEvent * ) { | |||
143 | 143 | ||
144 | // Display an on-screen display volume | 144 | // Display an on-screen display volume |
145 | unsigned int l, r, v; bool m; | 145 | unsigned int l, r, v; bool m; |
146 | AudioDevice::getVolume( l, r, m ); | 146 | |
147 | v = ((l + r) * 11) / (2*0xFFFF); | 147 | // TODO FIXME |
148 | // AudioDevice::getVolume( l, r, m ); | ||
149 | // v = ((l + r) * 11) / (2*0xFFFF); | ||
148 | 150 | ||
149 | if ( drawnOnScreenDisplay && onScreenDisplayVolume == v ) | 151 | if ( drawnOnScreenDisplay && onScreenDisplayVolume == v ) |
150 | return; | 152 | return; |