[issue4913] wave.py writes 16 bit sample files of half the correct duration

Guilherme Polo report at bugs.python.org
Sun Jan 11 20:47:59 CET 2009


Guilherme Polo <ggpolo at gmail.com> added the comment:

Ah, yes :) But in the other case (the one where it is currently
multiplied) the multiplication happens because data is formatted to
either bytes, shorts or longs, so without the multiplication data length
would end up being divided by 1, 2 or 4.

So, besides the extras "if" statements all is good.

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4913>
_______________________________________


More information about the Python-bugs-list mailing list