Re: [Flac-dev] Storing FLAC in Matroska

2003-07-08 Thread Jory
First, Thank you for your answers. I using the following code to try simply decode a flac file and write the decoded data raw PCM file. The resulting file is just noise and pops, so is the decoded data in a different format than PCM? struct flacData { FILE *inputFile; FILE *outputFile; char *f

Re: [Flac-dev] Re: [st.n@gmx.net: Bug#200435: xmms-flac: doesn't properly support long files]

2003-07-08 Thread Miroslav Lichvar
On Tue, Jul 08, 2003 at 08:59:13PM +, Christian Weisgerber wrote: > Matt Zimmerman <[EMAIL PROTECTED]> wrote: > > > I received this bug report from a Debian user. > > > Xmms-flac has problems with files longer than 55 minutes and 54 seconds. > > It shows the files (and length) correctly i

Re: [Flac-dev] [st.n@gmx.net: Bug#200435: xmms-flac: doesn't properly support long files]

2003-07-08 Thread Josh Coalson
--- Miroslav Lichvar <[EMAIL PROTECTED]> wrote: > On Tue, Jul 08, 2003 at 11:07:09AM -0400, Matt Zimmerman wrote: > > severity 200435 normal > > thanks > > > > I received this bug report from a Debian user. I can't think of > any reason > > offhand why the command line tool would work while the x

Re: [Flac-dev] Storing FLAC in Matroska

2003-07-08 Thread Josh Coalson
--- Jory <[EMAIL PROTECTED]> wrote: > Hello, > I'm looking into storing FLAC audio in Matroska and I have a few > questions. > > 1. Can I use libflac to extract the compressed frames? > Or will I need to write up a simple file parser? I'm not sure I understand your question, but one unfortuna

Re: [Flac-dev] mpd has support for flac!

2003-07-08 Thread Josh Coalson
--- starz <[EMAIL PROTECTED]> wrote: > http://musicpd.sf.net just came out today, with (amongst many other > things) > support for flac. MPD is a very stable, lean Music Playing Daemon > written > in C, that can be interfaced several different ways, through php, > plain old > telnet, there is a CLI

[Flac-dev] Re: [st.n@gmx.net: Bug#200435: xmms-flac: doesn't properly support long files]

2003-07-08 Thread Christian Weisgerber
Matt Zimmerman <[EMAIL PROTECTED]> wrote: > I received this bug report from a Debian user. > Xmms-flac has problems with files longer than 55 minutes and 54 seconds. > It shows the files (and length) correctly in the playlist, but as soon as I > start playing such a file, the length kind of s

Re: [Flac-dev] [st.n@gmx.net: Bug#200435: xmms-flac: doesn't properly support long files]

2003-07-08 Thread Matt Zimmerman
On Tue, Jul 08, 2003 at 05:17:50PM -0400, Steven Richman wrote: > > > - file_info->length_in_msec = file_info->total_samples * 10 / > > > (file_info->sample_rate / 100); > > > + file_info->length_in_msec = (FLAC__uint64)file_info->total_samples * > > > 10 / (file_info->sample_rat

Re: [Flac-dev] [st.n@gmx.net: Bug#200435: xmms-flac: doesn't properlysupport long files]

2003-07-08 Thread Steven Richman
> > - file_info->length_in_msec = file_info->total_samples * 10 / > > (file_info->sample_rate / 100); > > + file_info->length_in_msec = (FLAC__uint64)file_info->total_samples * > > 10 / (file_info->sample_rate / 100); ... > It seems like would be simpler to do something like:

[Flac-dev] Storing FLAC in Matroska

2003-07-08 Thread Jory
Hello, I'm looking into storing FLAC audio in Matroska and I have a few questions. 1. Can I use libflac to extract the compressed frames? Or will I need to write up a simple file parser? 2. What is required to decode the frames? >From the docs I understand that you need the FRAME and you may

Re: [Flac-dev] [st.n@gmx.net: Bug#200435: xmms-flac: doesn't properly support long files]

2003-07-08 Thread Matt Zimmerman
On Tue, Jul 08, 2003 at 10:11:49PM +0200, Miroslav Lichvar wrote: > On Tue, Jul 08, 2003 at 11:07:09AM -0400, Matt Zimmerman wrote: > > severity 200435 normal > > thanks > > > > I received this bug report from a Debian user. I can't think of any reason > > offhand why the command line tool would

Re: [Flac-dev] [st.n@gmx.net: Bug#200435: xmms-flac: doesn't properly support long files]

2003-07-08 Thread Miroslav Lichvar
On Tue, Jul 08, 2003 at 11:07:09AM -0400, Matt Zimmerman wrote: > severity 200435 normal > thanks > > I received this bug report from a Debian user. I can't think of any reason > offhand why the command line tool would work while the xmms plugin would > fail. ... It's an overflow, this patch wil

[Flac-dev] [st.n@gmx.net: Bug#200435: xmms-flac: doesn't properly support long files]

2003-07-08 Thread Matt Zimmerman
severity 200435 normal thanks I received this bug report from a Debian user. I can't think of any reason offhand why the command line tool would work while the xmms plugin would fail. - Forwarded message from Stephan Niemz <[EMAIL PROTECTED]> - Date: Tue, 8 Jul 2003 10:24:57 +0200 From: