|
From: <ham...@t-...> - 2006-11-08 12:53:54
|
attached is a patch that never made it into php
It adds two features:
streamMP3 now returns the nr of frames of the mp3 file, instead of nothing
This can be used for script like below:
$frames = $m->streamMp3(fopen("$mp3path/$file.mp3", "r"));
while(--$frames >= 0)
$m->nextFrame();
streamMP3 also takes an optional second parameter - the amount of music
to skip at the beginning
Wolfgang
|