Re: Line unavailable exceptions still happening with openjdk when acquiring a sourcedataline

2010-03-24 Thread Bob Lang
What happens if you attempt to get a SourceDataLine like this? AudioFormat audioFormat = new AudioFormat (...); SourceDataLine sdl = AudioSystem.getSourceDataLine (audioFormat); The above inside a try/catch of course.. Bob -- On 24 Mar 2010, at 06:50, Paulo Levi wrote: > Here is a testc

Reading audio CD data in Windows

2012-07-09 Thread Bob Lang
Hi all Is it possible to use (pure) Java read audio data from a CD in Windows? I can do it easily on a Mac, and I understand that a CDDA URL can be used on Linux, but I can't get either of these techniques to work on my Windows system. Can anyone help please? Bob

Re: Midi Strange behavior on MacOSX.

2012-12-10 Thread Bob Lang
Hi Guillaume The problem you describe is most likely due to the Midi Device SPI that Apple ships as part of its Java system. For a long time Apple didn't ship one at all and there was a thriving market in 3rd party Midi SPIs to fill the gap - and they mostly did a good job because they had to

Re: [9] Review Request: 8135100 Behavior of null arguments not specified in javax.sound.sampled.spi

2015-10-23 Thread Bob Lang
On 23 Oct 2015, at 19:56, Florian Bomers wrote: > Hi Sergey, > > I guess you're right and the second loop will never be executed if we > will always have the default mixer providers. > > Removing the NPE catch clause, however, will still cause a backwards > incompatibility, because if a poorly

Re: New thoughts on Java Sound

2015-10-24 Thread Bob Lang
boil down to little more than > JS class renaming/consolidating/cleaning. If you look at other audio > API's, you'll always find the concepts of device, stream, audio > format, file, codec -- just as in Java Sound. The main difference is > that JS uses strange naming and ove