Issue #1512791: In setframerate method of Wave_write, round non-integral

inputs to the nearest integer.  Thanks Neil Tallim for the patch.
This commit is contained in:
Mark Dickinson 2010-08-28 17:22:16 +00:00
parent a62074883b
commit 64a38c0eb5
5 changed files with 21 additions and 3 deletions

View file

@ -157,6 +157,10 @@ Wave_write objects, as returned by :func:`.open`, have the following methods:
Set the frame rate to *n*.
.. versionchanged:: 3.2
A non-integral input to this method is rounded to the nearest
integer.
.. method:: Wave_write.setnframes(n)