Displaying 20 results from an estimated 700 matches similar to: "using libflac++ on a live internet stream"
2017 Dec 13
3
using libflac++ on a live internet stream
Thanks Brian. I converted everything to libFLAC and got the same results.
Here is some debug output
encoder:
[34.270050] FLAC encoder set succeeded
[34.271183] write_callback, frame: 0, samples: 0
[34.271282] write_callback, frame: 0, samples: 0
[34.271313] write_callback, frame: 0, samples: 0
[34.271351] FLAC encoder initialization succeeded
[34.356251] write_callback, frame: 0, samples: 4096
2017 Dec 12
0
using libflac++ on a live internet stream
Hi Chris,
Have you tried the Standard C libflac option? Not that I have anything against the C++ flavor, but I've only ever worked with the C API, to keep things simple. Sorry for the brief response, but I wanted to reply quickly.
Brian
On Dec 12, 2017, at 1:51 PM, Chris Barrett <cbarrett.colo at gmail.com> wrote:
> I'm trying to use libflac++ on a live internet audio stream.
2017 Dec 13
0
using libflac++ on a live internet stream
On Wed, 13 Dec 2017 09:12:43 -0700
Chris Barrett <cbarrett.colo at gmail.com> wrote:
> Thanks Brian. I converted everything to libFLAC and got the same
> results.
>
> Here is some debug output
> encoder:
> [34.270050] FLAC encoder set succeeded
> [34.271183] write_callback, frame: 0, samples: 0
> [34.271282] write_callback, frame: 0, samples: 0
> [34.271313]
2004 Sep 10
3
1.0 source candidate
On Fri, Jul 20, 2001 at 08:14:55PM -0700, Josh Coalson wrote:
> --- Matt Zimmerman <mdz@debian.org> wrote:
> > On Fri, Jul 20, 2001 at 10:51:11PM -0400, Matt Zimmerman wrote:
> >
> > > This version seems to work at least partially on ia64. I am able
> > to encode my
> > > usual test WAV file now, but I still get a segfault during the
> >
2004 Sep 10
2
Using libFLAC++
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm attempting to add flac playback to my app, and would like a couple of
pointers. First of all, I'm very much a "learn by seeing other people doing"
sort of programmer, and would love a pointer to an open-source app that uses
libFLAC++, so I could see how they do it. Second, I'm having problems with
my simple test app
2006 May 11
2
C++ Set_Metadata Problem
I refer to a problem that appeared on the flac list last August that was
either solved off-list or abandoned.
(http://lists.xiph.org/pipermail/flac/2005-August/000468.html)
The problem is with using the C++ encoder classes, particularly the
FLAC::Encoder::File:set_metadata
function. JC said that the developers version of how to add a simple
metadata block looked right, but it did not work for
2004 Sep 10
0
Using libFLAC++
On Sat, Feb 15, 2003 at 06:18:12PM -0700, David Bishop wrote:
> I'm attempting to add flac playback to my app, and would like a couple of
> pointers. First of all, I'm very much a "learn by seeing other people doing"
> sort of programmer, and would love a pointer to an open-source app that uses
> libFLAC++, so I could see how they do it.
In flac sources there is
2004 Sep 10
1
Decoding without read callbacks.
Thanks for the reply,
But that still tries to read for itself from libogg... i need to be able to
feed data only... it can never try and read for itself. That code is still
trying to control the data flow. Basicly i need to operate like this.
SetupCodec
when i have data to give to the codec
FeedDataToCodec(data)
//Receive a bunch of callbacks somewhere returning me pcm data
//Codec
2004 Sep 10
2
FLAC++ SeekableStream write_callback not being called?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I am trying to create a FLAC plugin for the K3b CD burning program. To do this
I have subclassed the FLAC::Decoder::SeekableStream class. I can obtain the
vorbiscomment data using set_metadata_respond, process_until_end_of_metadata
and the metadata_callback, however I cannot decode the audio data. It seems
to me as though the write_callback
2004 Sep 10
2
1.0 source candidate
On Fri, Jul 20, 2001 at 10:51:11PM -0400, Matt Zimmerman wrote:
> This version seems to work at least partially on ia64. I am able to encode my
> usual test WAV file now, but I still get a segfault during the self-tests.
Interestingly enough, when I recompiled with --enable-debug to get a stack
trace, it worked. Any ideas how to track down the problem?
--
- mdz
2004 Sep 10
0
1.0 source candidate
--- Matt Zimmerman <mdz@debian.org> wrote:
> On Fri, Jul 20, 2001 at 08:14:55PM -0700, Josh Coalson wrote:
>
> > --- Matt Zimmerman <mdz@debian.org> wrote:
> > > On Fri, Jul 20, 2001 at 10:51:11PM -0400, Matt Zimmerman wrote:
> > >
> > > > This version seems to work at least partially on ia64. I am
> > > able
> > > to
2011 Sep 28
0
FLAC::Encoder::Stream == "FLAC__STREAM_ENCODER_VERIFY_MISMATCH_IN_AUDIO_DATA"
I'm using flac-1.2.1 and visual studio 2010 on windows xp sp3
and I want to compress raw CDDA with the stream encoder to a file.
But I just can't get the flac encoder to work,
the encoder always returns an error
enc.get_state() == "FLAC__STREAM_ENCODER_VERIFY_MISMATCH_IN_AUDIO_DATA"
get_verify_decoder_state() == "FLAC__STREAM_DECODER_READ_FRAME"
this is the code I
2006 Jun 17
3
Assistance with an encoding plugin
Hi,
I'm working on writing a FLAC encoding plugin for a personal cd ripping
project of mine which uses paranoia for the raw audio extraction. My
basic setup which follows gets me oddly high pitched audio with lots of
noise (although the music IS somewhat recognizable).
#include <FLAC/stream_encoder.h>
FLAC__StreamEncoder *encoder;
FILE *output_file_descriptor;
encoder =
2013 Feb 09
2
Newbie question about those callbacks
For instance the write_callback thing:
client_data ? can it be a pointer to just about anything? For instance
a pointer to a two-dimensional array?
Are those FLAC-WAV and WAV-FLAC examples the only examples available?
What would be the best approach to read a FLAC file to an array of
some kind? Passing a pointer to the array as ?client_data?? I'd like
to use a two-dimensional array, but
2016 Jan 19
0
FLAC__stream_decoder_seek_absolute calling write callback
> Hi,
> Sorry for the tardy response to this. I've now read your email a number of
> times and I'm still not sure what needs to be done.
> Maybe it would help if you could explain the following:
> * What is actually happening.
> * What you expect to happen and how that differs from what is happening.
> * Propose a fix.
> Once thing that may actually help is a small
2014 Mar 08
2
16 bits FLAC file data to 32 bit float buffer for CPU processing
Hello.
I create FLAC file decoding, processing and playing program and have the following question : how to convert FLAC 16 bit file data to 32 bit float buffer for CPU processing? I've already inplemented sound playing and tested it with sine wave - it works without problems; I even made writing into decoding buffer values of sine wave, instead of decoded FLAC file data, and it also works
2004 Oct 16
1
FLAC Process_single... read:write ratio ?
I'm just trying to wrap the flac decoder into a push model class... as i'm
having a few threading problems in corner cases.
One thing i need to fnid out is... if i call process_single() and let the
read callback give the decoder exactly one packet/frame.
Is the write_callback garaunteed to only be fired once ?
Also one other thing... this where is always crashes...
Line 374 in
2016 Jul 10
1
[PATCH] set decoding status if write callback failed.
Open src/flac/decode.c, find write_callback() function and add
return FLAC__STREAM_DECODER_WRITE_STATUS_ABORT;
to the beginning of the function. Decoding will fail with
the following message:
test.flac: ERROR while decoding data
state = FLAC__STREAM_DECODER_READ_FRAME
As you can see, decoder state isn't quite correct.
One of the ways to fix this is in the attached
2013 Apr 05
1
flac 1.3.0pre3 pre-release
Martijn van Beurden wrote:
> I've tested this on x86_64-linux as well, but still no static building
> possible (see earlier post on this). Someone over at HydrogenAudio has
> successfully built statically linked, but gets all weird kinds of errors
> in the resulting binary
>
2013 May 24
1
FLAC for Android: warning: cast increases required alignment of target type
Now that I can build FLAC again with Janne's patch I would like to report
about the warnings I get when building for Android:
android-make | grep warn
md5.c: In function 'format_input_':
md5.c:282:25: warning: cast increases required alignment of target type
[-Wcast-align]
md5.c:288:24: warning: cast increases required alignment of target type
[-Wcast-align]
decode.c: In function