Reputation:
I'm using javaFX in a game for playing music and sounds. Originally I was using mp3
files for the audio, but then I learned that because of the license attached with this format, it was probably not wise to continue using this format. Because of this, I switched to m4a
(AAC). However, after testing the program with m4a
versus mp3
, I have determined that using m4a
increases the memory consumption of the program by up to a gig with increases occurring when loading new music (SSCCE not possible due to extent of the program). The file format was the only thing changed for each test.
My questions:
Is m4a
known to be problematic in javaFX programs?
What audio formats should I be using in javaFX?
Upvotes: 0
Views: 46