// This method does not return until the audio file is completely loaded
clip.open(ais);
// Start playing
clip.start();
This code works fine on windows. But when i try on my mac. It gave me an exception.
java.lang.IllegalArgumentException: No line matching interface Clip supporting format PCM_SIGNED 44100.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian, and buffers of 9838592 to 9838592 bytes is supported.
The line in bold is the line that is throwing that error.
Neowin says it's $39.99, but their site says $399.99 after discount. Is Neowin covering the difference? I'll take 7 if they are. Not 8, not 6, never 5, but 7.
Yeah and now they added space above the tab bar, so now I have to painstakingly aim at just slightly below the top of the screen to reach a tab with my mouse.
truly hate it
Question
donchen
Hi guys,
Below is a code that i use to play sound
This code works fine on windows. But when i try on my mac. It gave me an exception.
java.lang.IllegalArgumentException: No line matching interface Clip supporting format PCM_SIGNED 44100.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian, and buffers of 9838592 to 9838592 bytes is supported.
The line in bold is the line that is throwing that error.
Any idea how to solve ?
Link to comment
https://www.neowin.net/forum/topic/662026-java-sound/Share on other sites
13 answers to this question
Recommended Posts