diff options
Diffstat (limited to 'kmix/mixer_oss4.cpp')
-rw-r--r-- | kmix/mixer_oss4.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kmix/mixer_oss4.cpp b/kmix/mixer_oss4.cpp index 8543915b..01b167aa 100644 --- a/kmix/mixer_oss4.cpp +++ b/kmix/mixer_oss4.cpp @@ -120,7 +120,7 @@ MixDevice::ChannelType Mixer_OSS4::classifyAndRename(TQString &name, int flags) } else if ( (*it).startsWith ( "pcm" ) ) { - (*it).tqreplace ( "pcm","PCM" ); + (*it).replace ( "pcm","PCM" ); cType = MixDevice::AUDIO; } else if ( *it == "src" ) @@ -138,7 +138,7 @@ MixDevice::ChannelType Mixer_OSS4::classifyAndRename(TQString &name, int flags) } if ( (*it).startsWith("vmix") ) { - (*it).tqreplace("vmix","Virtual Mixer"); + (*it).replace("vmix","Virtual Mixer"); cType = MixDevice::VOLUME; } else if ( (*it).endsWith("vol") ) @@ -227,8 +227,8 @@ int Mixer_OSS4::open() TQString name = ext.extname; //skip vmix volume controls and mute controls - if ( (name.tqfind("vmix") > -1 && name.tqfind( "pcm") > -1) || - name.tqfind("mute") > -1 + if ( (name.find("vmix") > -1 && name.find( "pcm") > -1) || + name.find("mute") > -1 #ifdef MIXT_MUTE || (ext.type == MIXT_MUTE) #endif @@ -238,12 +238,12 @@ int Mixer_OSS4::open() } //fix for old legacy names, according to Hannu's suggestions - if ( name.tqcontains('_') ) + if ( name.contains('_') ) { name = name.section('_',1,1).lower(); } - if ( ext.flags & MIXF_RECVOL || ext.flags & MIXF_MONVOL || name.tqfind(".in") > -1 ) + if ( ext.flags & MIXF_RECVOL || ext.flags & MIXF_MONVOL || name.find(".in") > -1 ) { isCapture = true; } |