Why do I get “LineUnavailableException: No Free Voices” when opening a Clip?
This happens with the “Java Sound Audio Engine” when too many clips are open. While you can obtain any number of Clip instances, only 32 can be open at the same time. This is a hard limitation of the engine; it can only mix 32 channels. As a workaround, you can close unused clips and open them once they are needed again. If you really need more than 32 channels, you can do the mixing in your application and output the result to a SourceDataLine.
Related Questions
- In opening credits for the second half of season 2, you see a clip of Chandler jumping into Joeys arms. What episode did that come from?
- How big is the chute opening on the Samson 6-1, Samson Advanced and Green Power juicers?
- Why do I get "LineUnavailableException: No Free Voices" when opening a Clip?