From: rkhuff at wcoil dot com Operating system: Win32 and/or *NIX PHP version: 5.1.1 PHP Bug Type: Feature/Change Request Bug description: Audio file compression
Description: ------------ Title: Audio format handling Depending on the direction of the PHP core team, this may be a mute request, but I think it deserves *some* attention as it could open up a new door for PHP dev's. Expected result: ---------------- I would like to see some functionality for audio files. Just the basic types I would imagine like .wav / .mp3. There may be a licsensing issue which could be why support has not been added, I don't know. I wouldn't see the need for hellua methods either, just a basic class for reading/writing. Reading: One should read the audio file into a resource string ( e.g fopen() ) and then be able to stream the resource to the browser, I would imagine it would be better to do it after the headers have been sent. *An added bonus here would be to also allow the method to convert the resource to it's text-based equivelant for echo'ing, but that may be "reaching to far". Writing: Again, just a basic class method that allows the user to pass text/string values to the method and the method converts/compresses the value into the proper file format. I don't know what kind of resources the class would consume on the server so I would guess make a PECL first ( I also made this comment there ) but I thought I would make it here as well ( in the hopes that if it were to be done, it would be built into PHP ;) ). -- Edit bug report at http://bugs.php.net/?id=35547&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35547&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35547&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35547&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=35547&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=35547&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35547&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35547&r=needscript Try newer version: http://bugs.php.net/fix.php?id=35547&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35547&r=support Expected behavior: http://bugs.php.net/fix.php?id=35547&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35547&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35547&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=35547&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35547&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=35547&r=dst IIS Stability: http://bugs.php.net/fix.php?id=35547&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35547&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35547&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35547&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35547&r=mysqlcfg