<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body wsmode="compose" text="#000000" bgcolor="#FFFFFF">
    Hello Everyone,<br>
    <br>
    When I try to do voice recording, I get following error:
    <br>
    <br>
    "Could not create a media muxer element: wavenc"
    <br>
    <br>
    indicating that there is no wav encoder in the virtual machine
    (sailfish emulator).
    <br>
    <br>
    I use following code to record voice..
    <br>
    <br>
    /<b class="moz-txt-star"><span class="moz-txt-tag">*</span>Snippet<span
        class="moz-txt-tag">*</span></b>/
    <br>
    <br>
         audiosource = new QAudioCaptureSource(this);
    <br>
    <br>
         capture = new QMediaRecorder(audiosource, this);
    <br>
    <br>
         QAudioEncoderSettings Esettings;
    <br>
         Esettings.setCodec("audio/PCM");
    <br>
         Esettings.setSampleRate(8000);
    <br>
        
    Esettings.setEncodingMode(QtMultimediaKit::ConstantQualityEncoding);
    <br>
         Esettings.setBitRate(128000);
    <br>
         Esettings.setQuality(QtMultimediaKit::VeryHighQuality);
    <br>
         audiosource->setAudioInput("default");
    <br>
         capture->setOutputLocation(QUrl(location));
    <br>
         capture->setEncodingSettings(Esettings,
    QVideoEncoderSettings(), "wav");
    <br>
         capture->record();
    <br>
    <br>
    upon calling record() of QMediaRecorder it throws the said error.
    <br>
    <br>
    Any ideas on how to get around this, or is this simply a limitation
    or bug in the Emulator?<br>
    <br>
    Cheers!<br>
    <pre class="moz-signature" cols="72">-- 
Josh Alner
Killer Mobile Software LLC
<a class="moz-txt-link-abbreviated" href="http://www.killermobile.com">www.killermobile.com</a>
Twitter: twitter.com/killermobile
</pre>
  </body>
</html>