Re: [flac-dev] using libflac++ on a live internet stream

2018-01-04 Thread Chris Barrett
Following up on this thread to conclude and help others who may search the list in the future. I was able to get streaming to work. There were some things I got wrong on the integer format of the input samples to the encoder - that was my oversight. But, there is one thing that might need to be

Re: [flac-dev] using libflac++ on a live internet stream

2017-12-13 Thread Richard Ash
On Wed, 13 Dec 2017 09:12:43 -0700 Chris Barrett 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

Re: [flac-dev] using libflac++ on a live internet stream

2017-12-13 Thread Brian Willoughby
I don't have time to look into this, at the moment. Hopefully, someone else on the list can lend a hand. It's been about ten years since I wrote any new code using libFLAC, so it would take me a while to help find any problems with your code. Perhaps the holidays will afford some time. Brian

Re: [flac-dev] using libflac++ on a live internet stream

2017-12-13 Thread Chris Barrett
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 [3

Re: [flac-dev] using libflac++ on a live internet stream

2017-12-13 Thread Brian Willoughby
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 wrote: > I'm

[flac-dev] using libflac++ on a live internet stream

2017-12-12 Thread Chris Barrett
I'm trying to use libflac++ on a live internet audio stream. I don't see anything mentioned in the documentation that suggests this should not be possible, so I hope I'm not chasing down the wrong path (two weeks in). The encoder seems to be working fine and creates data for the write_callback, w