author | wimpie <wimpie> | 2005-01-04 01:31:53 (UTC) |
---|---|---|
committer | wimpie <wimpie> | 2005-01-04 01:31:53 (UTC) |
commit | 42638ffd708a5236ad9a1f06a40b9d8b7919277c (patch) (side-by-side diff) | |
tree | 687d61c6e2d5ddd20dff42cf6e1b18afbe81633f | |
parent | 0f3d74b472817e6b4f9d80adc122281b84629c1f (diff) | |
download | opie-42638ffd708a5236ad9a1f06a40b9d8b7919277c.zip opie-42638ffd708a5236ad9a1f06a40b9d8b7919277c.tar.gz opie-42638ffd708a5236ad9a1f06a40b9d8b7919277c.tar.bz2 |
CONTROL file :changed VERSION string
-rw-r--r-- | libopie2/opiemm/libopiemm2.control | 2 | ||||
-rw-r--r-- | libopie2/opiemm/osoundsystem.cpp | 2 | ||||
-rw-r--r-- | libopie2/opiemm/osoundsystem.h | 1 |
3 files changed, 1 insertions, 4 deletions
diff --git a/libopie2/opiemm/libopiemm2.control b/libopie2/opiemm/libopiemm2.control index d0f34a8..0dd2df2 100644 --- a/libopie2/opiemm/libopiemm2.control +++ b/libopie2/opiemm/libopiemm2.control @@ -1,10 +1,10 @@ Package: libopiemm2 Files: lib/libopiemm2.so.* Priority: optional Section: opie/system Maintainer: Opie Team <opie@handhelds.org> Architecture: arm -Version: 1.8.2-$SUB_VERSION.2 +Version: $QPE_VERSION$EXTRAVERSION Depends: libqpe1, libopiecore2 (1.8.2) Provides: libopiemm2 Description: Opie library 2.0 MM 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 @@ -297,26 +297,24 @@ void OMixerInterface::setVolume( const QString& channel, int left, int right ) { if ( result & 0xff != left ) { owarn << "Device adjusted volume from " << left << " to " << (result & 0xff) << oendl; } } } } int OMixerInterface::volume( const QString& channel ) const { int volume; if ( _channels.contains( channel ) ) { if ( ioctl( _fd, MIXER_READ( _channels[channel] ), &volume ) == -1 ) { owarn << "Can't get volume: " << strerror( errno ) << oendl; } else return volume; } return -1; } - - diff --git a/libopie2/opiemm/osoundsystem.h b/libopie2/opiemm/osoundsystem.h index 3c3b622..bd69114 100644 --- a/libopie2/opiemm/osoundsystem.h +++ b/libopie2/opiemm/osoundsystem.h @@ -209,25 +209,24 @@ class OMixerInterface : public QObject * If no value for right is given, the value for left is taken for that. */ void setVolume( const QString& channel, int left, int right = -1 ); /** * @returns the volume of @a channel or -1, if the channel doesn't exist. * @note You might want to use @ref hasChannel() to check if a channel exists. */ int volume( const QString& channel ) const; protected: int _fd; QMap<QString, int> _channels; private: void init(); private: class Private; Private *d; }; } } #endif // OSOUNDSYSTEM_H - |