Audio curiosity

I'm planning some projects and was looking through the JavaDocs and noticed something and had one idea for another:

  1. Custom audio format: is it possible (yes I know, it might not be quick) to add an audio format by encapsulating the audio stream and convert it to a format supported on the fly?
  2. VoIP mode: I was looking at the 6.0 API documentation for javax.microedition.media.Manager and he mentions VoIP mode. Anyone used this? No idea if it is a 6.0 and function or work on 5.0 and lower?

InputStream would certainly be easier but DataSource would provide more 'options' such as research and would be more manageable in dealing with different types of content and sources.

The way I look at it is (for something like streaming):

InputStream: Stream of entry opened, read data (blocks until enough data has been buffered, provide data), doing the cleaning in close function

DataSource: Create the data source, Connect (start of data buffer), Start (provide data), Stop (stop providing data but still buffering if more data is avalible), disconnect (stop the buffering, near streams, free buffers).

I like options, therefore, knowing that it would work with an InputStream is good to know. Thank you.

EDIT: I'm going to mark this as the solution since my questions where but by 2 different people.

Tags: BlackBerry Developers

Similar Questions

  • Troubleshooting Guide: Audio does not work after a Certain period of time

    Hi all

    Thank you for choosing the HP Forums!

    If your sound recently stopped working on Windows 8.x or Windows Server 2012 and you suspect an update of Windows is involved, then look like! This is the troubleshooting guide that will explain how to solve the problem!

    Explanation:

    Currently, there is a Windows update that may cause the sound on your computer to stop working. The update is KB2962407, and it is now an "Important" update This means that it will be installed by Windows Update unless hide you it.

    This thread also covers generic sound troubleshooting which can solve the problems of "no sound".

    Before the update itself, since an update of Windows cannot be the culprit, there are a few troubleshooting can be done.

    A round of troubleshooting:

    1. run the Audio Troubleshooting in Windows 8 may solve the problem. It does not contain the possibility of eliminating any parameter that affects sound. Here are some steps on how to perform this troubleshooting:

    (a) hold down the key "Windows" and "R" and type "Troubleshooting" and then press ENTER.

    (b) a window will open. On the left, click on "Show all", then "Audio playback".

    (c) click on 'Advanced' and run it as an administrator. Then click on 'Next' to complete the process.

    2 try to create a new user account. The changes forced by the update that is likely to affect only a single user. This HP document shows you how to create a new user in the section "creating a new account in Windows 8": users and connections (Windows 8) account management

    3. try a pair of headphones or external speakers. This is set by the whole issue if the sound does not work via an output of second or third device.

    4. an alternative is to uninstall the driver manually and then force to be installed again:

    (a) open the Device Manager and go to the section "audio, video controller and game."

    (b) make a right click on your audio driver and select "Uninstall".

    (c) restart the computer. This will force the material to write a new driver at startup.

    5. Finally, to ensure that the remaining steps that you have not tried this document are tempted: no sound from speakers (Windows 8)

    New inclusions:

    Deactivating and activating the audio driver has been tested with success results enough for me to post here. Here are the instructions to do this:

    (a) open the Device Manager and go to the section "audio, video controller and game."

    (b) make a right click on your audio driver and select "disable."

    (c) wait a minute, then right-click on it and select 'enable '.

    Also, the restoration of the system is also a valid troubleshooting step. This will return the computer to a point before the update or an external source of the issue has occurred. Here is a document on how to perform a system restore: System Restore

    If you want something strong, an update of Windows completely refreshes Windows 8, without affecting the files: refresh your PC to solve problems (Windows 8)

    Also, this is a sound of Windows troubleshooting tutorial. Just out of curiosity, I've recreated the problem on a Windows 8 and went through this tutorial. He has been able to solve the problem: no sound in Windows

    *Everything in italics is currently untested, but will be tested as soon as possible. I believe that these steps will help:

    In the search bar, type "services.msc" and press ENTER.

    Hold down the 'Windows' and 'R '. Type "services.msc" and press ENTER. Look for the following services:

    -Audio service

    -Windows audio

    -Windows Audio endpoint Builder

    I want you right click on each of these services and select "Stop". When they all stopped, right-click on each other again and select 'start '. So, make sure that the status of each service is "started" and their startup type is "Automatic".

    Troubleshooting of the update:

    At this point, unless you want to reinstall the operating system, the only other option is to tackle the update, KB2962407. Please note that the following troubleshooting is ONLY a workaround, for now and should be done only if the computer has installed this update.

    First of all, you can try the hotfix package content in this document from Microsoft, specifically at the KB2962407 address: RT of Windows, Windows 8 and Windows Server 2012 cumulative hotfix: June 2014

    If that doesn't help, then uninstall the update of Windows and then hide it, are the only way to eliminate the question if she caused by this update. Here is the procedure to uninstall the update:

    1. go in Control Panel, then click on "programs and features".

    2. click on "view installed updates". Look for the update with ID KB2962407.

    3. right click on the update and select "Uninstall". Restart the computer.

    Then, here is the procedure in order to hide the update:

    1. go in Control Panel, then click on "Windows Updates".

    2. click on ' Check for Updates '. When the process is complete, is expected to find important updates available. By clicking on the message will open a window where is the important updates.

    3. right click on the KB2962407 update and select "Hide update". This will prevent the installation update next time that Windows updates are installed.

    Conclusion:

    At the end of this guide, you will have the sound works again (assuming that the cause was the update of Windows, or the less focused on the software). Please let me know if you have any questions or concerns. Thank you!

    Mario

    I worked on behalf of HP.

    @Charlton26 ,

    As @vhawk1 recommended, please give my long post suddenly. You should have a positive resolution when you are finished. These steps are tested and solve the problem

    And @vhawk1 , thanks for getting the word

    Mario

  • Satellite L650-PSK1JE - can't get 5.1 or audio - stereo only

    I have the Toshiba Satellite L650-PSK1JE with radon mobility 5650 and is connected via HDMI to my receiver sony
    whitch is then by an another HDMI connected to the TV.
    Problem is that I can't get 5.1 or quadrophonic sound cell phone, stereo only.

    I tried installing drivers from TOSHIBA web site, as well as pilots from other sites (old drivers everi time deleteng) and still can't make it work. Currently have the drivers ATI 12.6. and audio drivers conexant official.

    In his propertis it says that the maximum number of channels is 2. But in manual graphics card it says that it supports up to 7.1 via HDMI.

    Funny, it is only once (but only once) a surround sound worked, and I had the choice to select 5.1.

    Is it possible that I need to do something with mid sony DH520 Receiver.

    > The problem is that I can't not quadrophonic sound notebook, only stereo or 5.1.
    I have not experts for this, but, as far as I know in the last Toshiba m gave portable computers with optical audio port (red light inside the sound output port) and it was possible to get 5.1 activation option in the sound settings 5.1. Toshiba has offered this Qosmio and some Satellite laptops.

    Out of curiosity: are you using the original pre-installed OS that you got with your laptop?

    I want to buy the Pioneer VSX-S500 so it's very interesting for me to know if you will be able to make it work properly.

  • Help please - CS5.5 Why is the audio track not projection in the timeline?

    Of course, I would appreciate your help.  I have been using Adobe first 6, then 6.5 years as a hobby.  I'm a big fan of the first.  Around November 2011, I upgraded to CS5.5.

    I was working on a video with my son recently.  We use MPEG4 video of his digital camera.  I never have this problem.

    Imported fine video.  The problem is that the audio do not arise in the audio track.  When we played the video track, the audio played, but doesn't

    no show.  Out of curiosity I opened the first Elements to see if the audio track would show the video track separately, and he did.

    Is there something I can do to make the audio track appears in CS5.5?

    Thank you for your time and your help.

    Until you see one that you can't see, scroll down the audio tracks. It can be on track 4 or even raining down.

  • Only 1/3 of the movie preview appear when I record audio.

    Hi, when I try to record audio (very often across multiple slides), my trailer does not appear.

    The window remain the same rather than spend. I can still see the Ok, cancel and apply. I don't see that 1/3 of the preview (file attached). I have to save, then press ENTER to close the window, then go back to the audio file for editing...

    Anyone has an idea on how to solve this problem?

    I am running Windows 7.

    Thank you very much!

    Alex

    2009-10-28_102852.png

    Hi Alex

    Hmmm, Windows 7. This could be just one of the problems that we see with Captivate.

    I am aware that Windows 7 offers a possibility to run applications in Windows XP mode. Unfortunately I'll have to rely on others to tell how you do it. But I would suggest that you look at this option.

    See if you can run Captivate in Windows XP mode and see if it changes how things behave.

    Out of curiosity, is also 64-bit Windows 7?

    In addition, please consider to present this as a bug. (The link is in my signature)

    See you soon... Rick

    Useful and practical links

    Captivate wish form/Bug report form

    Certified Adobe Captivate training

    SorcerStone blog

    Captivate eBooks

  • Bluetooth connection problem iPhone - audio system Nissan after upgrade iOS10

    After iOS10.0.2 iOS9 on iPhone upgrade, I got a cordially problem receive calls raise Nissan car audio.

    I can make a call without any problem. Bluetooth connection is stable. I can download address book e.t.c. But I can't receive a call. I see the incoming call on the radio shows. After pressing the button "answer" on the car Audio System, audio between iPhone and Audio streams car breaks down.

    But the cellular connection remains active. I need to rotate the audio output on the screen of the iPhone car for iPhone and back to the car. After that, I can continue my call via the car radio.

    Thanks in advance

    Hello StasV,

    Thank you for using communities Support from Apple. I know having a problem with calls on your iPhone in your car, it's not what you expect. The good news is that these steps will be useful for your problem of phone calls while using the bluetooth in your car. Go to settings > general > accessibility > routing of Audio calls and the value headset/Bluetooth Headset and retest your question.

    Audio routing call - the iPhone user Guide
    Help to connect your iPhone, iPad or iPod touch with your car radio

    See you soon!

  • MBA does not play audio on JBL EXTREME

    Hello

    I tried to play music on my new JBL EXTREME of blue tooth speaker that proved no problem on my phone I have 6 s +.

    However, I can't be able to remove from my Mac Book Air!

    It's 'pairs' very well with the JBL speaker sound!

    He has played from the loudspeakers of the MBA.

    No music, no audio from Youtube on the JBL; nothing!

    I run the latest version of the software, and I restarted the MBA and the JBL repeatedly.

    My MBA plays very well with my Sennheiser Blue Tooth headset, so I think that my audio settings are OK. (?)

    Someone has an idea of what the question might be, please?

    Thank you!

    Rut

    Howdy MXP 150 Patriot,

    If you're able to pair your bluetooth with your Mac speaker, but your Mac continues to stream audio from its built-in speakers, you might check to see which device is selected in now Option while you click on the Volume control () in your menu bar. You can also check in system preferences > Sound > output.

    OS X El Capitan: adjust the audio output of your computer settings

    Note If you don't see the Volume control () in the menu bar, you can add it by checking the box "Show volume in menu bar" in system preferences > Sound.

    OS X El Capitan: increase the volume upwards or downwards

    All my best!

  • removed the audio tracks in logic pro can be restored

    removed the audio tracks in logic pro can be restored, has been save logic & empty folders to the folder came, I deleted the originals by mistake...

    Not if you don't have the original audio files on your hard drive.  If you have deleted original, your only hope he then restore from a backup of your system, you have a.

  • You can change the tempo without affecting/stretch automatically audio?

    My workflow...

    import an instrumental, then add a tempo meter to detect the tempo... can change the tempo of the project... but OOPS, that extends the audio file... How can I change the tempo without changing the audio file? Thank you!

    Region selected: in the region Inspector, uncheck 'follow Tempo and Pitch '.

    This will separate your audio region of tempo changes.

  • Audio stuttering on MBPro Sierra

    I'm on a MacBook Pro installed macOS 10.12 retina end 2013 (Sierra).  For several years, I have used a bluetooth JBL of Charge 2 for this portable audio speaker (and sometimes my iPhone and other iPhones).  He has always worked flawlessly.

    Today when I hit play on the audio iTunes began badly stuttering.  After several searches, advice and read everything that I could find (especially regarding similar issues on other versions of the operating system as El Cap, Yosemite, etc.), I did the following, without result:

    • Not matched and repaired the speaker

    • Restarted/rebooted both the speaker and the MBP

    • Reset NVRAM and SMC

    • Redownloaded and reinstalled Sierra

    • Reset NVRAM memory new

    The problem persists.

    Note: I have also been hang this portable projectors in the classroom for several years via a port mini display to VGA and have never had a problem.  Since the upgrade to Sierra, can I talk to is no longer in the spotlight (my MBP always spoke to my external monitors (via the adapter, even) but not the spotlight.  I wonder if these issues are linked, at least to the extent where they came after the upgrade to Sierra.  Thanks in advance for any thoughts.

    Moments after the announcement of this question, I went into my list of connection and uninstalled Knock, an application that allows to unlock the lock screen by knocking on an iPhone.  And here, the sound works fine now.

    I guess I should have posted earlier, because I found the solution immediately after.  At least the bluetooth problem is now solved!

  • iPhone 7 lightning to the questions of the audio input jack

    I often connect my phone to listen to music on stereo systems for listening to music out loud. When I used to do with my 6s, I had no problem with the sound output. Since switching to the iPhone 7 that I need to use the adapter to play music, but when I do this the sound is very distorted and sometimes if you put the volume a bit higher up the music stops. Even with a lower volume, it is still quite distorted. When I use a headset with the adapter and plug the phone into my car is fine no problem and sounds. It is only when I play music on the radio.

    I talked to Apple support and they were not really able to diagnose the problem or give me a solution.

    I was wondering if anyone else has problems with the lightning to the audio jack connector or something similar? and everyone is aware of any other superior quality adapters, you can buy or if there is a fix by apple to do deal with this?

    I don't have the problems you describe at all.

    To the extent where a 'solution' by Apple, not sure there is any 'broken' to fix.  Anyway, we are users here on this forum, we would have no idea what Apple would do.  Speculation is prohibited by the terms of use of this forum.

    Best,

    GDG

  • DVD player freezes when audio editing

    My application DVD player recently started crashing every time that trying to change the volume of the silent era. The laptop is a MacBook 12 "retina 2015, using an external DVD drive that has worked very well for a year. Have tried on many different DVDs and they all load fine, DVD player auto-commence, but they all open with no sound. If I try to increase the volume of 0 on the slider, the player crashes. If I try to access audio via the menu 'Options' menu does load not for Audio and audio disk configuration is similarly frozen to corruption. Other audio works fine on the machine. Any idea on what could be the problem? Thank you.

    Greetings bhan001,

    Thank you for using communities of Apple Support. It seems you want to play a dvd on the MacBook connected via an external dvd drive. Given that the application crashes using each dvd that you tried it may be a problem with the application itself. There are a few things that we can try to isolate and solve the problem.  I would recommend you read these articles, starting in safe mode disables the 3rd party applications that may interfere with the DVD player application. If the problem persists, we can try a new user to test to see if it's a matter of profile or the scale of the system.

    Try safe mode if your Mac does not end commissioning

    How to test a question in another account on your Mac.

    Take care.

  • New Audio USB Interface lose sound on El Capitan

    Hi all!

    A few weeks ago that I upgraded my MacBook Pro retina 15 "end 2013 to El Capitan, after that my USB Audio Interfaces (Focusrite Scarlett 2i4) and Safire 6 USB stopped working properly. Both work correctly when they are connected to an iMac 5K running the same operating system.

    I can listen to Audio for some time (about 10-2 Minutes, it is always different), when the Audio starts to crush und get outs, after a certain time there is only silence "click on" come out of the speakers.

    Heres an Audio file of the sound that results from: https://www.dropbox.com/s/5nb96bmdh47kmi2/20160923%20141619.m4a?dl=0

    I already tried to reinstall OS X (starting with CMD R and reinstall OS), reset PRAM and SMC. Nothing has changed the question. Any ideas where it comes from?

    Greetings

    Chris

    It is most likely a software conflict. Note the time at which audio is running out. Open the Console and look for accidents or mistakes at this time.

    The reason why it crashes on a mac, but not the others most likely is related to differences in software installed. Run Etrecheck on touch mac and post the report here.

  • With the help of iTunes audio in Keynote

    I try to use music files, I regularly bought from the iTunes Store in my Keynote presentations. But many of them (not all, strangely) I get a message saying hat the media file "xxx" is protected against copying and I'm not allowed to use it.

    I used to import files from my iTunes library (including the files purchased from the iTunes Store) with previous versions of Keynote, without encountering any problems. Now, with 6.6.2, I have this problem, and in all my presentations created with previous versions of the audio files are not found.

    Please advise: I'm a musicologist and teacher, and it is frustrating to buy audio files specifically include them in my lectures and teachings and not to use them.

    Read this KB Apple: iTunes and digital rights management

  • No sound/audio in MP4 files

    Hi hoping someone here can help out - I use El Capitan 10.11.6 and the audio is missing some MP4 files that I downloaded from a GoPro camera. My sound is fine otherwise, output noise is fine, alert sounds are fine. MOV files off other cameras play well with audio easily here, but I don't hear anything in the files MP4 Quicktime, VLC, Final Cut Pro X, even if in Final Cut Pro X there is an audio waveform on each clip and they were converted to Quicktime using the MPEG stream clip (there no audible sound in the program either). I tried the same files on colleagues Mac running Mavericks and the sound is fine out there so here something to replace or reinstall?

    You run the same exact file on El Capitan and the Mavericks?  Shouldn't be any change unless MPEGstreamclip has been defined to use some esoteric audio codec in the file.  First of all, there is no reason to convert the files off your GoPro.  FCPX will work with native files very well.

    And, if you never convert, use the GoPro Studio app for this.  Nothing I do will have problems with the standard files.

    We use GoPros all the time and didn't have any problems.  What are the settings on the GoPro cameras?

Maybe you are looking for