diff -r 90517678cc4f -r 453da2cfceef qtmobility/plugins/multimedia/audiocapture/audioencodercontrol.cpp --- a/qtmobility/plugins/multimedia/audiocapture/audioencodercontrol.cpp Mon May 03 13:18:40 2010 +0300 +++ b/qtmobility/plugins/multimedia/audiocapture/audioencodercontrol.cpp Fri May 14 16:41:33 2010 +0300 @@ -60,12 +60,12 @@ fmt.setByteOrder(QAudioFormat::LittleEndian); m_session->setFormat(fmt); - m_settings.setEncodingMode(QtMedia::ConstantQualityEncoding); + m_settings.setEncodingMode(QtMediaServices::ConstantQualityEncoding); m_settings.setCodec("audio/pcm"); m_settings.setBitRate(8000); m_settings.setChannelCount(1); m_settings.setSampleRate(8000); - m_settings.setQuality(QtMedia::LowQuality); + m_settings.setQuality(QtMediaServices::LowQuality); } AudioEncoderControl::~AudioEncoderControl() @@ -130,14 +130,14 @@ { QAudioFormat fmt = m_session->format(); - if (settings.encodingMode() == QtMedia::ConstantQualityEncoding) { - if (settings.quality() == QtMedia::LowQuality) { + if (settings.encodingMode() == QtMediaServices::ConstantQualityEncoding) { + if (settings.quality() == QtMediaServices::LowQuality) { fmt.setSampleSize(8); fmt.setChannels(1); fmt.setFrequency(8000); fmt.setSampleType(QAudioFormat::UnSignedInt); - } else if (settings.quality() == QtMedia::NormalQuality) { + } else if (settings.quality() == QtMediaServices::NormalQuality) { fmt.setSampleSize(16); fmt.setChannels(1); fmt.setFrequency(22050);