finnkuusisto / TinySound

Simple library for playing sounds and music in Java
http://finnkuusisto.github.com/TinySound
BSD 2-Clause "Simplified" License
99 stars 26 forks source link

Must use AudioFormat.matches() to compare formats #9

Closed finnkuusisto closed 12 years ago

finnkuusisto commented 12 years ago

TinySound uses the equals method to compare AudioFormats, but AudioFormat doesn't override equals. Instead there is a matches method for comparing formats.

finnkuusisto commented 12 years ago

Changed usage of AudioFormat.equals() to matches().