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
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
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
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
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