Diffstat (limited to 'libopie2/opiemm/osoundsystem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiemm/osoundsystem.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libopie2/opiemm/osoundsystem.cpp b/libopie2/opiemm/osoundsystem.cpp index 17e5cb0..13b26e6 100644 --- a/libopie2/opiemm/osoundsystem.cpp +++ b/libopie2/opiemm/osoundsystem.cpp | |||
@@ -309,14 +309,12 @@ int OMixerInterface::volume( const QString& channel ) const | |||
309 | int volume; | 309 | int volume; |
310 | 310 | ||
311 | if ( _channels.contains( channel ) ) | 311 | if ( _channels.contains( channel ) ) |
312 | { | 312 | { |
313 | if ( ioctl( _fd, MIXER_READ( _channels[channel] ), &volume ) == -1 ) | 313 | if ( ioctl( _fd, MIXER_READ( _channels[channel] ), &volume ) == -1 ) |
314 | { | 314 | { |
315 | owarn << "Can't get volume: " << strerror( errno ) << oendl; | 315 | owarn << "Can't get volume: " << strerror( errno ) << oendl; |
316 | } | 316 | } |
317 | else return volume; | 317 | else return volume; |
318 | } | 318 | } |
319 | return -1; | 319 | return -1; |
320 | } | 320 | } |
321 | |||
322 | |||