The code is designed to behave this way, but we may want to review it as it
is inconsistent. As it stands now, getsamplingrate() returns a double but
then make empty sound takes an int sampling rate. This requires users to
cast values to when say creating an empty sound with the same sampling rate
as an existing sound. It could be cleaner, though this change could
potentially break other code and/or textbook examples, so we need to look
into it to decide if a change is warranted.
Original issue reported on code.google.com by bjdorn@gmail.com on 5 Aug 2009 at 2:21
Original issue reported on code.google.com by
bjdorn@gmail.com
on 5 Aug 2009 at 2:21