Add Tim's ogg and flac patches, plus convert the existing ogg metainfo reading

stuff to use vorbisfile.
This commit is contained in:
Ron Pedde
2005-02-27 00:41:55 +00:00
parent ecaae83ce5
commit 9afb28a4ab
9 changed files with 192 additions and 774 deletions

View File

@@ -392,7 +392,9 @@ void daap_handler(WS_CONNINFO *pwsc) {
// The file should be converted in the server side.
DPRINTF(E_WARN,L_WS,"Thread %d: Autoconvert file %s for client\n",
pwsc->threadno,real_path);
file_ptr=server_side_convert_open(real_path,offset);
file_ptr = server_side_convert_open(real_path,
offset,
pmp3->song_length);
if (file_ptr) {
file_fd = fileno(file_ptr);
} else {