Re: Sound API for php
| From: | Tony Leake | Date: | Sun, 08 Sep 2002 11:12:10 +0000 |
| Subject: | Re: Sound API for php | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-88067@lists.php.net to get a copy of this message | ||
On Sun, 2002-09-08 at 11:00, Wez Furlong wrote:
>
> That fits with our naming conventions; however, I think that Andi
> was hoping you would post a little bit info about the parameters
> of the main functions that you expect people to use; something like
> this:
>
> bool audio_play_file(string filename);
> Plays an audio file to the default sound output device
>
I haven't yet worked out what the parameters will be, I haven't even
worked out what all of the functions will be. The only functions I have
written so far are the ones that wrap the standard ecasound
instructions. Give me a couple of days and I'll post again with a full
proposed api for my first release, params and all, taking into account
yours and Andi's suggestions.
> I don't think there is a need to make this into two separate extensions
> (it just makes things harder for the end user) - you can link to as many
> libs as you like from your extension.
Ok
>
> You can use any license you like when your code is in pear/PECL (so long
> as it allows "joe public" to download your code from the php.net server).
> The license incompatibility only affects whether your extension can be
> bundled/distributed with the PHP core. (as was the case with my mailparse
> extension...)
>
Cool, I have also noted Andi's comment in reply to this, I will contact
the author as I feel that even if it's not required I should do it as a
matter of courtesy.
Regards
Tony