×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    54

    Voice come from loud 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");
    player.realize();
    recordControl = (RecordControl) player.getControl("RecordControl");
    out = new ByteArrayOutputStream();
    recordControl.setRecordStream(out);
    recordControl.startRecord();
    player.start();

    for listening,

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


    Please give some instruction, I am in urgent.

    Thanks you,
    with regards
    Sweet Sweet

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: Voice come from loud speaker

    I'm afraid you don't get a choice where the sound comes from.

Similar Threads

  1. Voice come from external speaker
    By sweetsweet24 in forum Mobile Java General
    Replies: 2
    Last Post: 2008-12-11, 06:15
  2. Play WAV during call not to loud speaker
    By Bill_Murray in forum Symbian
    Replies: 2
    Last Post: 2006-01-25, 23:44
  3. Play sound not to the loud speaker
    By Bill_Murray in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2006-01-25, 23:42
  4. Replies: 3
    Last Post: 2004-02-07, 05:59
  5. Loud speaker of Nokia 7650
    By miro_minkov in forum Symbian
    Replies: 2
    Last Post: 2002-11-08, 21:45

Posting Permissions

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