Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Sep 2008

    Voice come from external speaker

    hi everyone
    In my application, I recorded the voice and listen that recorded voice. Now the voice is come from the loud speaker. I want to listen from the phone speaker. How can I write with Java ME the voice come from phone speaker.
    Here is my code,
    for recording,

    player = Manager.createPlayer("capture://audio");
    recordControl = (RecordControl) player.getControl("RecordControl");
    out = new ByteArrayOutputStream();

    for listening,

    ByteArrayInputStream bbin = new ByteArrayInputStream(voice);
    player = Manager.createPlayer(bbin,"audio/amr");

    Please give some instruction, I am in urgent.

    Thanks you,
    with regards
    Sweet Sweet

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    USA, CA

    Re: Voice come from external speaker

    I am confused. What is phone speaker and what is loud speaker?

    Anyhow, you cannot redirect the audio with Java ME. It will be played through whatever spaker the phone's system instructs it to use.


  3. #3
    Regular Contributor
    Join Date
    Sep 2008

    Re: Voice come from external speaker

    Hi Hartti!
    Thanks you for your reply. The phone speaker means only the user can hear the voice like making a phone call or answering the phone call. If we make a phone call and talk with other, the people near the phone cannot hear what they are talking.
    The loud speaker means the people who is near the phone can hear every thing what they are talking.

    So, according to your reply , I really cannot hide my playing voice :'(. Really don't have any way??????

    if we listen the voice message, we can hear privately. Other person cannot hear.

    Thanks you for everything.
    With Regards,
    Sweet Sweet

Similar Threads

  1. error LNK2019: unresolved external symbol ???
    By wgarnett in forum Symbian
    Replies: 3
    Last Post: 2009-09-28, 06:53
  2. error LNK2001: Please Help
    By sourish_khan in forum Symbian
    Replies: 9
    Last Post: 2006-04-19, 11:16
  3. S80 Platform SDK and Visual Studio .NET Linking Error
    By jayantjain in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2005-10-07, 22:14
  4. CEikDialog Question
    By AdamBeck in forum Symbian
    Replies: 2
    Last Post: 2004-09-30, 19:40
  5. Unresolved external symbols problem
    By georgica1979 in forum Symbian User Interface
    Replies: 1
    Last Post: 2003-04-06, 13:26

Posting Permissions

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