[Python-bugs-list] [ python-Bugs-490558 ] Missing Snd functions

noreply@sourceforge.net noreply@sourceforge.net
Sat, 08 Dec 2001 02:14:20 -0800


Bugs item #490558, was opened at 2001-12-08 02:14
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=490558&group_id=5470

Category: Macintosh
Group: Feature Request
Status: Open
Resolution: None
Priority: 5
Submitted By: Jason Harper (jasonharper)
Assigned to: Jack Jansen (jackjansen)
Summary: Missing Snd functions

Initial Comment:
A few minor omissions in the Carbon.Snd module as of 
2.2b2:

SndPlay and SndStartFilePlay are exposed only as methods 
of sound channel objects.  However, these are usefully 
called with a NULL sound channel, in which case a 
channel is internally allocated for the duration of the 
call (and the 'async' parameter is ignored).

SndRecord is completely missing (as is SndRecordToFile, 
but that isn't supported in Carbon) - yes, there is 
SPBRecord, but that's a lower-level routine that doesn't 
present a user interface for recording.  If I'm 
understanding the bgen process correctly, this is 
because of a parameter of type ModalFilterUPP, which is 
blacklisted.  However, SndRecord would be useful even if 
this parameter wasn't supported (required to be None, 
perhaps): the Sound Manager documentation gives no hint 
as to why you'd even want to use a filterproc, and the 
sample code I can find always passes NULL.


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=490558&group_id=5470