summaryrefslogtreecommitdiffstats
path: root/PC/bdist_wininst
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2003-05-29 21:53:06 (GMT)
committerGreg Ward <gward@python.net>2003-05-29 21:53:06 (GMT)
commitd676906ab7e0bda29da776a7ef384e1f751c3f27 (patch)
treec075ae6a436adb0d76a5633f7788db142b19b99f /PC/bdist_wininst
parentd691c42a38821e58c4e20dc4e0e5962d2c1bf90e (diff)
downloadcpython-d676906ab7e0bda29da776a7ef384e1f751c3f27.zip
cpython-d676906ab7e0bda29da776a7ef384e1f751c3f27.tar.gz
cpython-d676906ab7e0bda29da776a7ef384e1f751c3f27.tar.bz2
Completely change the interface to setparameters():
* it no longer takes ssize, which served no purpose apart from scolding you if you got it wrong * changed the order of the three remaining required arguments to (format, channels, rate) to match the order in which they must be set * replaced the optional argument 'emulate' with 'strict': if strict true, and the audio device does not accept the requested sampling parameters, raise OSSAudioError * return a tuple (format, channels, rate) reflecting the sampling parameters that were actually set Change the canonical name of ossaudiodev.error to ossaudiodev.OSSAudioError (keep an alias for backwards compatibility). Remove 'audio_types' list and 'n_audio_types' (no longer needed now that setparameters() no longer has an 'ssize' argument to police).
Diffstat (limited to 'PC/bdist_wininst')
0 files changed, 0 insertions, 0 deletions