×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Aug 2007
    Posts
    19

    Recording audio clips in Qt Simulator

    Hi,

    I'm working with the following development environment:

    * Ubuntu 9.04
    * Nokia Qt SDK 1.0
    * Qt Mobility 1.1.0
    * Qt Simulator target

    I am trying to record an audio clip using classes
    QAudioCaptureSource and QMediaRecorder from QtMultimediaKit.
    I am instantiating the classes as follows:

    mAudioCaptureSource = new QAudioCaptureSource(this);
    mMediaRecorder = new QMediaRecorder(mAudioCaptureSource,this);

    After this mMediaRecorder->isAvailable() returns true and
    mMediaRecorder->availabilityError() returns no NoError,
    but mAudioCaptureSource->audioInputs() and
    mMediaRecorder->supportedAudioCodecs()
    both seem to return an empty list.

    Is recording audio clips supposed to work in the Qt Simulator environment?
    If it is supposed to work, do I need to do some tricks
    like for example install some additional packages to Ubuntu?
    I am using a headset (earphones and a microphone)
    that is working ok in Ubuntu.

  2. #2
    Registered User
    Join Date
    Sep 2010
    Posts
    1

    Re: Recording audio clips in Qt Simulator

    Make sure your plugins are in correct directory.

    put a debug message in QMediaPluginLoader::load() "qmediapluginloader.cpp" and check the paths being searched and make sure the .so files are there.

    In Windows the plugins had to be in AppDir/plugins/mediaservice.

Similar Threads

  1. Replies: 3
    Last Post: 2010-06-30, 01:17
  2. Nokia Qt SDK, QT Simulator and virtual keyboards
    By donald@anasim.com in forum [Archived] Qt SDKs and Tools
    Replies: 0
    Last Post: 2010-05-29, 09:33
  3. How can I record audio clips from FM radio output ?
    By KungFuPanda in forum Symbian Media (Closed)
    Replies: 10
    Last Post: 2008-08-12, 14:01
  4. Can s60 devices handle 2 audio clips at the same time?
    By thuskins in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2007-01-03, 10:34
  5. How to create light audio only clips for MMS?
    By jamppajamppa in forum General Messaging
    Replies: 1
    Last Post: 2002-10-25, 12:27

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×