×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jan 2011
    Posts
    8

    Unhappy Help needed for audio recording to a file.

    I am using Qt Sdk for developing a symbian application for audio recording.My design was to record audio to a file and then play it by accessing the file. I used audio recorder example from qt help window. API used is qt mobility multimedia API and used classes QMediaRecorder and QAudioCaptureSource as seen from help and created a project with title RecordTest. After building the project following error showed

    1) /Users/user/AudioRecorder/main.cpp:1: error: audiorecorder.h: No such file or directory
    2) /Users/user/AudioRecorder/main.cpp:9: error: 'AudioRecorder' was not declared in this scope
    3) /Users/user/AudioRecorder/main.cpp:9: error: expected `;' before 'recorder'
    4) /Users/user/AudioRecorder/main.cpp:11: error: 'recorder' was not declared in this scope

    ANYONE WITH A SOLUTION PLEASE REPLY. ITS FOR MY COLLEGE PROJECT.

  2. #2
    Super Contributor
    Join Date
    Mar 2009
    Posts
    1,024

    Re: Help needed for audio recording to a file.

    Hi,
    Are you running it in the correct target? Mobility libs are missing on Desktop target.
    If you are building your app in the correct target then you have forgotten to add the following lines to your project file

    CONFIG += mobility
    MOBILITY = multimedia

  3. #3
    Registered User
    Join Date
    Jan 2011
    Posts
    8

    Re: Help needed for audio recording to a file.

    I rectified the problem.The code works for simulator but when building for target device the sis package ain't creating,no error or comments are displayed.build steps completes 2 of 3 steps.Wat will be the prob?

  4. #4
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: Help needed for audio recording to a file.

    Why don't you post here the output from the build console. If there's an error there which you have missed, we could be able to spot it. If not, at least we would understand what you are doing.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

Similar Threads

  1. Replies: 6
    Last Post: 2010-06-03, 11:42
  2. How to create a hidden audio recording file??
    By chandran.biju007 in forum Symbian Media (Closed)
    Replies: 6
    Last Post: 2010-05-17, 19:41
  3. Help needed to create an audio player progress updater
    By usuf.syed in forum Symbian Media (Closed)
    Replies: 4
    Last Post: 2007-05-10, 10:31
  4. Audio Recording settings for the smallest file size
    By rafeeqpv in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2007-03-06, 04:29
  5. Help for Audio Recording
    By AmeyDeshpande in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2006-04-25, 23:23

Posting Permissions

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