Re: [proposal] sndfile extension

From: Date: Thu, 09 Sep 2004 15:03:40 +0000
Subject: Re: [proposal] sndfile extension
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-1287@lists.php.net to get a copy of this message
> I started an extension to wrap libsndfile a while ago which I just finished > a working alpha version of. I've done some simple testing with it (reading > writing and manipulating sound) but it might need some tightening up in > terms of how it could interact with php, streams or other pecl extensions. > As of the moment it uses a sound buffer that is registered as a resource you > manipulate like an array via sndfile_buffer_*() functions. > It looks like it's ready to bring into PECL, but I did have a question and a suggestion: Are multibyte PCM units assumed to be signed or unsigned? And what are their endian orientations? Do you envision adding a wrapper interface to this extension? Audio seems like something ripe for streaming... Always pass-by-ref arguments (such as sfinfo in sndfile_open()) should probably be forced_by_ref so that the user doesn't have to remember that part during call-time. -Sara

« previous php.pecl.dev (#1287) next »