×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Regular Contributor
    Join Date
    Dec 2007
    Posts
    92

    Audio recording from a audio player

    Hi All

    I had a problem to follow requirement.

    Record raw audio data from an audio player(just like buildin audio play playing a mp3 song) and then transfer it by network.

    I investigate the SDK, and I think may be DevSound may work it out, but I dont sure, and I dont know how to configure it to work it out.

    Do you guys had some suggestion on it, please feel free to tell me.

    Thank you in advance.

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: Audio recording from a audio player

    have you tried CMdaAudioInputStream already.

  3. #3
    Regular Contributor
    Join Date
    Dec 2007
    Posts
    92

    Re: Audio recording from a audio player

    Quote Originally Posted by symbianyucca View Post
    have you tried CMdaAudioInputStream already.
    I think CMdaAudioInputStream can work for MIC, and I already try it with a Nokia Sample, and I find out it seems just works for MIC, but not for other audio devices, so the problem is how to access other audio device.

    I also check CMMFDevSound sample and I found in SDK, it can be configure at InitializeL() to specify a TUid aHWDev(The CMMFHwDevice implementation identifier), but I dont really know how to use it, can any body give help on it.

    Best Regards

  4. #4
    Regular Contributor
    Join Date
    Dec 2007
    Posts
    92

    Re: Audio recording from a audio player

    In fact, my problem is how to capture current playing sound or tone or telephone line, and I think there should have some solution for it.

  5. #5
    Registered User
    Join Date
    Dec 2006
    Posts
    2,280

    Re: Audio recording from a audio player

    Hi,

    No, you can't capture the current playing sound in general. There are ways to record telephone conversations but for music playback, any low level interface that allowed you to record the played audio would completely defeat DRM!

    Sorcery

  6. #6
    Regular Contributor
    Join Date
    Dec 2007
    Posts
    92

    Re: Audio recording from a audio player

    Quote Originally Posted by Sorcery-ltd View Post
    Hi,

    No, you can't capture the current playing sound in general. There are ways to record telephone conversations but for music playback, any low level interface that allowed you to record the played audio would completely defeat DRM!

    Sorcery
    Thanks for your helpful information, I understand it right now.
    However, I think it is able to have a hands-free solution that, we do not use BT A2DP, just CTelephony to capture telephone line, than through Wifi or USB connection, we can transfer sound data to other devices and feed back with answer voice.

    This function is defined for in Car usage. If there are some help information about it, please feel free to tell.

  7. #7
    Registered User
    Join Date
    Dec 2006
    Posts
    2,280

    Re: Audio recording from a audio player

    Hi,

    A2DP is designed for stereo music. You'd want a bluetooth headset or carkit profile for voice calls.

    Yes, I think it would be possible to capture the downlink audio and make an alternative kind of car kit. It sounds like a really bad idea for a project though - the bluetooth option works great and is readily available + getting cheaper all the time.

    Sorcery

Similar Threads

  1. Recording audio in loop, crashes on N70
    By hsundt in forum Mobile Java Media (Graphics & Sounds)
    Replies: 3
    Last Post: 2010-12-29, 15:22
  2. Buggy AMR Audio Recording. Please Help!!
    By jhamby in forum Symbian C++
    Replies: 8
    Last Post: 2009-07-07, 10:34
  3. Please Help Recording mp4 audio.....
    By codsw2 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2007-10-08, 15:24
  4. Recording an audio stream using the Series 60 emulator
    By rastapasta in forum Symbian Media (Closed)
    Replies: 4
    Last Post: 2007-04-23, 11:46

Posting Permissions

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