summaryrefslogtreecommitdiffstats
path: root/kmix/mixer_oss4.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmix/mixer_oss4.cpp')
-rw-r--r--kmix/mixer_oss4.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kmix/mixer_oss4.cpp b/kmix/mixer_oss4.cpp
index 01b167aa..8543915b 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).replace ( "pcm","PCM" );
+ (*it).tqreplace ( "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).replace("vmix","Virtual Mixer");
+ (*it).tqreplace("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.find("vmix") > -1 && name.find( "pcm") > -1) ||
- name.find("mute") > -1
+ if ( (name.tqfind("vmix") > -1 && name.tqfind( "pcm") > -1) ||
+ name.tqfind("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.contains('_') )
+ if ( name.tqcontains('_') )
{
name = name.section('_',1,1).lower();
}
- if ( ext.flags & MIXF_RECVOL || ext.flags & MIXF_MONVOL || name.find(".in") > -1 )
+ if ( ext.flags & MIXF_RECVOL || ext.flags & MIXF_MONVOL || name.tqfind(".in") > -1 )
{
isCapture = true;
}