AudioManager OS 2.0

[Sorry, this has nothing to do with Android - I posted on the wrong forum by mistake...]  Just asked the moderator to move.]

I just tested my unfinished Soft in a simulator of 2.0 and found a problem with the sound. Someone know if his treatment has changed somehow, or is this just a problem of Simulator?

In particular, I put the volume with

AudioManager.audioManager.setOutputLevel(vol);

that works very well on my 1.0.8 peripheral and Simulator 1.0, but in the Simulator 2.0 (2.0.0 - 7109-Win) the sound plays just very loosely, any volume, I put.

See you soon

Anna

It's probably a bug that was fixed later than the latest generation of Simulator. We have the launch version of 2.0 on a simulator to be coming soon. I was told that the 28th is the day.

Tags: BlackBerry Developers

Similar Questions

  • Satellite L555 - 10 M - internal MIC does not work?

    Satellite L555 - 10 M

    Hello

    It seems that the internal MIC (beside the web camera) does not work, because I can not save anything.
    I tried the windows audiorecorder application, Skype application, and one any of them can record my voice.

    The external microphone works fine, so I think the software using windows setup and the definition realtek HD audiomanager are OK.

    How can I check if it is really a hardware problem?

    Coul you please help me?
    Thank you!

    > I tried the windows audiorecorder application, Skype application, and one any of them can record my voice.

    Have you tested the internal mic in relation to the installed webcam software?
    Means do because the internal microphone belongs to the internal webcam.
    In addition, you should check the settings in the control panel-> sound-> recording tab
    The internal microphone should be selected as the default device.
    If the internal MIC is not listed it right click and check the options: Show hidden and disabled devices.

  • How to catch the change of profile event?

    Hello

    for my application, I need to react on the evolution of the active profile. What I do now, is that I have recorded the listener with AudioManager.RINGER_MODE_CHANGED_ACTION action. I catch the same as once - just after always recording listener and he gets the AudioManager.RINGER_MODE_NORMAL result. Listener does not receive events more. Application works correctly on the Android platform.

    Some ideas?

    Thank you

    I have an answer of comments under the list of intentions not supported:

    http://developer.BlackBerry.com/Android/apisupport/unsupported_api_jellybean_intents.html

    I confirmed that "android.media.RINGER_MODE_CHANGED_ACTION", which has the constant 'android.media.RINGER_MODE_CHANGED' is not supported.

    December 3, 2014

  • How to direct sound to the bluetooth in C++

    Could not find any reference or documentation on how to run his Bluetooth device. On OS5 could check for active bluetooth and choose more pregnant.

    What I do on BB10?

    You may drop up to C and use AudioManager.

  • notification of bb10 helmet

    Hi I was wondering if there is any support for notifications of headphones... I want to say do we receive any notification when we plug our headphones and also when we remove the helmet... or any event fires. If there is an event that fires at the moment so can us programatically access it...

    ``````````````````````````````````````````EDIT`````````````````````````````````````````

    Through QAnywhere for Adobe Air, I found a code and tried

    My code

    addEventListener (qnx.events.AudioManagerEvent.CONNECTED_INPUT_CHANGED, outputchanged);
    addEventListener (qnx.events.AudioManagerEvent.CONNECTED_OUTPUT_CHANGED, outputchanged);

    private void outputchanged (event:qnx.events.AudioManagerEvent): void
    {
    trace ("output is ' + event");
    }

    It does not work. I have not any trace output...? Any idea... ??

    Any advice/help is appreciated

    Thanks in advance

    Resolved, he changed the code of

    var audioManager:AudioManager = AudioManager.audioManager;
    audioManager.addEventListener (AudioManagerEvent.CONNECTED_OUTPUT_CHANGED, outputchanged);

  • Audio volume on the control unit?

    No idea how it's done?

    as far as I thought I have to import the system qnx audiomanager class and then call the function setOutputLevel from the nuber I want it to be but it doesn't seem to work

    PS: I'm under 10.0.9.388 gentle on my DevAlpha and compile using the 3.0.0 SDK

    Howdy!

    import the following:

    Import qnx.system.AudioManager;

    Import qnx.system.AudioOutput;

    in your block of code you want to add:

    AudioManager.audioManager.setOutputLevel (0,1, AudioOutput.SPEAKERS);

    The second argument can be null, and it will set some output is being used, but I like to be explicit.  Then, add the following to your bar - descriptor.xml:

    set_audio_volume

    I hope that helps!  Let me know how it works for you.

    See you soon!

    -grahamzibar

  • Problem reading recorded in audio

    Hello

    The following code is what I used to read the audio recorded.

    Private Sub sayHello()

    {

    int i = 0;

    data Byte [] = null;

    Audio AudioRecorderThread = new AudioRecorderThread ("gsm");

    audio. Start();

    Try

    {

    Thread.Sleep (5000);

    }

    catch (InterruptedException e)

    {

    e.printStackTrace ();

    }

    audio. Stop();

    System.out.println ("recording stopped");

    data = audio.getAudioBuffer ();

    ByteArrayInputStream IStream = new ByteArrayInputStream (buff, 0, data.length);

    Try

    {

    A player = Manager.createPlayer (istream, audio.getContentType ());

    Player.Realize ();

    Player.prefetch ();

    player.setLoopCount (1);

    player.addPlayerListener (this);

    VolumeControl vc = player.getControl ("VolumeControl") (VolumeControl);

    If (vc! = null) vc.setLevel (100);

    System.out.println ("player Staring");

    Player.Start ();

    Thread.Sleep (6000);

    System.out.println ("judgment of the reader");

    Player.Close ();

    IStream.Close ();

    }

    catch (System.Exception e)

    {

    System.out.println (e.getMessage ());

    }

    }

    The code for AudionRecorderThread is as follows,

    public void run()

    {

    Try

    {

    Create a player who live audio recordings.

    _player = Manager.createPlayer ("capture://audio?encoding=" + contentType);

    _player. Realize();

    Get the RecordControl, configure the flow of record,

    _rcontrol = (RecordControl) _player.getControl ("RecordControl");

    contentType = _rcontrol.getContentType ();

    Create a ByteArrayOutputStream to record the audio stream.

    _output = new ByteArrayOutputStream();

    _rcontrol.setRecordStream (_output);

    _rcontrol.startRecord ();

    _player. Start();

    }

    catch (System.exception final e)

    {

    UiApplication.getUiApplication () .invokeAndWait (new Runnable()

    {

    public void run()

    {

    Dialog.Inform (try ());

    }

    });

    }

    }

    public void stop()

    {

    Try

    {

    System.out.println ("slaughter recording");

    Stop recording, record data of the OutputStream,

    closing the OutputStream and player.

    _rcontrol.commit ();

    _data = _output.toByteArray ();

    _output. Close();

    _player. Close();

    }

    catch (System.Exception e)

    {

    synchronized (UiApplication.getEventLock ())

    {

    Dialog.Inform (try ());

    }

    }

    }

    The code above works file when encoding is gsm, but is unable to work with the regime pcm encoding.

    With PCM, it gives error "not a snd file.

    I tried putting the header before the captured data. But then it gives error Audiomanager:IOException and media.

    [0,0] VM:NCICv = 56 [0,0] VM:NMACv = 11

    [0,0] AR: remove the source 11

    [0,0] AR: setAudioMode 32

    [0,0] stopped recording

    [0,0] [-683785997] SMP: _ss = 1799

    [0,0] MN: init0 (0, 0, 5) = 0

    [0,0] MN: charge 0

    [0,0] VM:NCICv = 10

    [0,0] VM:NMACv = 25

    [0,0] AUDIOMANAGER: IOException

    [0,0] MP: h = 0, s = LG: + mErr

    [0,0] MP: h = 0, s = LG: + unlC

    [0,0] MN: finalize0 (0)

    [0,0] MP: h = 0, s = LG :-> UD

    [0,0] MP: h = 0, s = UD:-unlC

    [0,0] MP: h = 0, s = UD: mErr.

    [0,0] MP: h = 0, s = UD: LOAD ERR

    [0,0] MP: h = 0, s = UD: + UNLD

    [0,0] MP: h = 0, s = UD: UNLD.

    [0,0] Media: e:MdEr:9

    [0,0] of media initialization error.

    Help, please

    Thank you

    For PCM, it would be wise to add a wave header.

  • Ocuured to exception on playback of a video file on a remote server

    Hi all

    I'm trying to play a video file of the 3gpp format that is located in a remote server.

    Debugging the application, I get the following error "AUDIOMANAGER: IOException ' in the console when the application tries to connect via the HTTP URL for the location of the file:

    SMPones acquired session id = 1799
    MN: init0 (0) = 0
    MN: charge 0
    MN: unload0 (0) = 0 pauseHandle = 7fffffff
    MN: unload 1
    AUDIOMANAGER: IOException
    Streaming is reason = 1000 prev - state = 300

    Any idea about this error or how to fix this.

    Simulator used is 9000 and OS 4.6

    I am able to play the file even if it's on the SD card.

    Concerning

    Ali Said

    You can use a different connection path so that you are not through BlackBerry Enterprise Server file access.

    What - in different ways to establish an HTTP connection or socket
    Article number: DB-00396

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/What_Is...

    Or you can use a segmented HTTP connection to download your video file.

    How - to download large files using the BlackBerry Mobile data system
    Article number: DB-00619

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800431/How_To _...

  • Problem during loop playback of MP3

    Hello

    I'm trying to play an mp3 file in a loop on Blackberry pearl 8100, here's the code:

    Try
    {
               
    Player=javax.microedition.media.Manager.createPlayer(getClass().getResourceAsStream("/sound.MP3"),"audio/MPEG");
               
    Player.Realize ();
    Player.prefetch ();
    player.setLoopCount(-1);
    Player.Start ();
    }
    catch (System.Exception e)
    {
    System.out.println ("error in the establishment of the media:" + e);
               
    }

    The problem is the sound simple and after that I get under the exception:

    MEDIA_NATIVES: unload0() mediaHandle = 0
    MN: unload 1
    MEDIA_NATIVES: init0() mediaHandle = 0 State = 0
    MN: charge 0
    MEDIA_NATIVES: seekComplete0() mediaHandle = 0
    MEDIA_NATIVES: unload0() mediaHandle = 0
    MN: unload 1
    Streaming is reason = 1 prev - state = 300
    AUDIOMANAGER: IOException
    Streaming is reason = 1000 prev - state = 300

    This exception is automatically without coming and println statement...

    Is there anything that I'm missing, please give me the solution...

    Kind regards

    LOULOU

    If you have everything installed recent versions, give a try.

  • Strange behavior of audio subsystem after update Dev Alpha 10 to 10.0.9.388

    Hello world!

    Has anyone noticed a strange behavior of the behavior of 10.0.9.388 audio subsystem firmware. Recently, after firmware update Dev Alpha 10 to 10.0.9.388 subsystem audio misbehavies in the following way:

    (1) if the external headphones/speakers connected to the audio line-out looks to be preprocessed by low-pass filter and surround effect. The device reported by AudioManager is/dev/snd/pcmPrefferedp. Would it be a bug in formware and re-routing audio internal speaker to the line-out socket did not exclude specific pre-treatment?

    (2) on the previous firmwares if audio goes out of the internal speaker and then the helmet is connected to Jack line out change of itinerary was seemlesly happening and he kept playing with headphones without additional measures in the application. Now, peripheral audio is not consume audio samples and so crashes until it is closed and reopened.

    On the previous firmwares were not all the problems of this kind. Would be - what a few unlucky flashing firmware try (if it is still possible) or bug of 10.0.9.388.

    It will be good to hear comments & thoughts about these questions.

    Best regards

    Dmitry.

    I suggest to create two entries Issue Tracker: https://www.blackberry.com/jira

  • Unable to video file to the SD card by using the data source and SourceStream stream

    I see this in the debug output:

    SMPones acquired session id = 1799
    MN: init0 (0) = 0
    MN: charge 0
    MN: seekComplete0 (0) = 0
    MN: seekComplete0 (0) = 0
    AUDIOMANAGER: IOException
    MN: unload0 (0) = 2 pauseHandle = 7fffffff
    Streaming is reason = 1 prev - state = 300

    Even the files read in the native multimedia player on the Simulator fine. One is a .mp4, the other is a .3gp.

    I use content types "video/mp4" and "video/3gpp".

    I have the SourceStream returns-1 for the two getTransferSize() and getContentLength() to indicate the size is unknown. My hypothesis is that it should always work. They must be non-negative and non-zero in order to work properly?

    I use the 4.6.0.190 simulator. We observed the same behavior on the device (4.6.0.266).

    Thanks for the comments. It turned out to be the function seek() requiring a good implementation. The getContentLength() on the return of-1, but for the office seek() I ended up closing the input stream, works by opening and then calling Another to get to the desired position.

  • Creative Audigy

    Hi all..

    I have reinstalled operating system of my XPS M-1330 (Win Vista Home Premium). Audio drivers have been installed correctly. During the installation of the creative audiomanager (for srs dolby functionality), an internet connection was required for my CD key could be verified. I am connected and after filling out the paperwork it says that the key has expired and I need to buy a new key. I got the CD with my system and I paid for the license. Why my CD key has expired so what should I do to solve the problem?

    Any help would be much appreciated.

    Stephanie Singh


Maybe you are looking for

  • Expanding RAM on my 27 iMac

    My iMac 27 (mid-2010) has a memory as follows: BANK 0/DIMM0 OK 2 GB DDR3 1333 MHz BANK 1/DIMM0 OK 2 GB DDR3 1333 MHz 0/DIMM1 BANK OK 2 GB DDR3 1333 MHz BANK 1/DIMM1 OK 2 GB DDR3 1333 MHz I ordered 2 * 2 GB of the same type (Apple Corsair 8 GB 2x4gb D

  • NOR-6512

    Page 7, i.e. Figure 4, 6512-specific, of the specifications NI651X shows the pin of the connector on. My question is related to the PIN 9, (P0.COM (P0. GND)). This PIN is tied to the land? What is the common axis for all pins of port 0. So in my case

  • I can't get a functional SD reader

    Afternoon everyone,I have an Acer Travelmate 4720 and I just tried to read the my1GB from the laptop and he has nothing.I have the Windows XP Service pack 3,2002 version.I tried to read the map through 'my computer', but there is no recognition at al

  • HP7510: Cannot fax using HP7510 because of the error message "not connected to the network.

    I have problems with efax.  He has worked in the past with no problems.  Now I get a message that the printer is not connected to the nework anything.  I can print wireless. The problem is with the sending of faxes.   I tried all of the suggestions I

  • I have a problem with Kaspersky Security System.

    I have Windows 7 countertop and use Kaspersky PURE 3.0 for the last 4 years.  Last week, it was corrupted.  I'm having a HUGE problem with society which, for some reason, do not want to give me a help to help solve my problem.  I uninstalled the prog