similar to: Push/Pull Model

Displaying 20 results from an estimated 4000 matches similar to: "Push/Pull Model"

2004 Sep 10
2
FLAC__stream_decoder_flush
Hi, The FLAC__stream_decoder_flush doesn't change the state, but when I play a stream and reach the end I have to do a FLAC__stream_decoder_reset and reread the metadata instead of simply a FLAC__stream_decoder_flush. This is because the stream state, which indicates the end of the stream, is not changed. Is there a reason, for the state not being reset to
2004 Sep 10
2
FLAC as part of the Ogg project?
Josh Coalson wrote: > --- Christer Palm <palm@nogui.se> wrote: > >> >>I'd be happy to put some effort into making that happen, but after >>having looked at the code as it currently stands I realize that this >>would require some quite substantial changes, and it would probably >>be >>wise to have an open discussion about whether and how such
2004 Sep 10
3
ACM codec
Hello everyone, I was just browsing through some video capturing websites/forums and saw some people complain that there was no lossless codec available to encode audio in AVI files. I thought that FLAC would have one but it doesn't seem to be the case. As it's a popular demand (now that hard drives are inexpensive, people can record hours of video/audio without any loss and then
2004 Sep 10
2
Bits per Sample, Channel Count
Hi, these two values can be stored in the stream info metadata block as well as in the header of each frame. This leads to some questions. - Are these values supposed to change during playback, e.g. first comes a frame with 2 channels, then with four and the next switches the bit count from 16 to 8 and so on? - There are methods to retrieve these values from the stream decoder. Unfortunately
2017 Dec 12
2
using libflac++ on a live internet stream
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, which I have coded to packetize that data and send it across the network. The question is
2004 Sep 10
2
Ogg FLAC
--- Ingo Ralf Blum <ingoralfblum@gmx.de> wrote: > > currently flac sets all granulepos members of the ogg pages to 0, > when > > embedding a FLAC stream into an Ogg file. Is it possible to change > this > > behaviour to use a more reasonable value, e.g. the bytes written so > far. > So > > when the first packets is 1000 bytes long it gets the granulepos
2004 Sep 10
2
Ogg FLAC
Hi, currently flac sets all granulepos members of the ogg pages to 0, when embedding a FLAC stream into an Ogg file. Is it possible to change this behaviour to use a more reasonable value, e.g. the bytes written so far. So when the first packets is 1000 bytes long it gets the granulepos 1000 and when the second packet is 1234 bytes long it gets the granulepos 2234 and so on. This would make it
2004 Sep 10
1
FLAC__stream_decoder_get_input_bytes_unconsumed
Is there a reason for having the FLAC__stream_decoder_get_input_bytes_unconsumed function private. This function is required now by two of my filters for seeking and buffer managment, when not all data is available from the beginning. Regards, Ingo
2004 Sep 10
1
FLAC as part of the Ogg project?
Josh Coalson wrote: > but > the bad news is that there is no way to determine the frame > length except by decoding. > Yes, I realized that... :-( > I'm not exactly sure what the read constraint you mention > means but it might be helpful to tweak the value for > FLAC__BITBUFFER_DEFAULT_CAPACITY in src/libFLAC/bitbuffer.c > to be something larger (just guessing).
2009 Aug 04
3
Accuracy (PR#13867)
Full_Name: Manuel Luethi Version: 2.9.1 OS: Windows XP Submission from: (NULL) (129.132.128.136) Hi I created the following vectors: p_1=c(0.2,0.2,0.2,0.2,0.1,0.25,0.4,0.1,0.25,0.4,0.1,0.25,0.4,0.1,0.25,0.4,0.2,0.5,0.8,0.2,0.5,0.8,0.2,0.5,0.8,0.2,0.5,0.8) p_2=c(0,0,0,0,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.4,0.25,0.1,0.4,0.25,0.1,0.4,0.25,0.1,0.4,0.25,0.1) As these are
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
2004 Sep 10
2
Problem in FLAC__stream_decoder_process_metadata
Hi, I have a problem when I try to open a file, which is not a FLAC file. When I open a non-flac file with the stream decoder API, one of the first things called is FLAC__stream_decoder_process_metadata, which itself calls stream_decoder_find_metadata_. Unfortunately the non-flac file contains some content, which leads to the state set to FLAC__STREAM_DECODER_READ_FRAME. However in
2004 Sep 10
3
FLAC format
HI Josh, I'm starting now to compile the ACM codec. I don't know how long it will take, since I do it in my free time, but I guess it will not take to long. About Mark Powell's comment, with an ACM codec there will be a lot of Windows GUIs for FLAC. I'm writing this message to talk about the FLAC format. The GUIs for the Audio Codec Manager, including Winamp and Windows Media
2006 May 22
1
Active Record Migrations -> Table Relations
Hi there ! I am currently investingation ROR. I really like the idea of specifying my database schema via Migrations, but one questions came to my mind. How does one specify Table relations in the migration ? 1. There is a fancy way of doing it with Active Records. 2. I just add manually some Integer ID columns etc... and lateron add the Foreign Key semantic via SQL.. Which one of the above
2013 Mar 05
1
Generating 1-bit and 8-bit BMP files using R
Hi, I'm trying to use the data which I generate within R to make images in .bmp format to be lateron printed by a printer. My first thought was the RImageJ package, but this seems to be discontinued. What I am currently doing is generating a matrix of grey values, which needs to be parsed into the right image format. Is anyone aware of a package or rather "easy" way to generate
2011 Aug 09
2
Feed decoder from c++ std::stream
Hi! I am working on an application that reads audio data from files, and runs it through some user defined filters. The filters basically all derive from some base filter and have methods start(), update() and finish(). The start routine performs any initialization required by the filter, and finish() does the clean up. In between, I simply read the file piece by piece into a buffer using
2006 Jul 24
3
Problem with CRAM and flac-1.1.2
A user of CRAM (http://swami.sourceforge.net/cram.php) sent in a bug report related to decoding of CRAM files. This issue occurs with flac-1.1.2 but not previous versions (such as flac-1.1.1). Note that the same file is used for this test (hopefully ruling out any issue with the encoder). Details of the issue: When calling FLAC__stream_decoder_process_single() the error callback is triggered
2007 Jun 26
1
Memory Experimentation: Rule of Thumb = 10-15 Times the Memory
dear R experts: I am of course no R experts, but use it regularly. I thought I would share some experimentation with memory use. I run a linux machine with about 4GB of memory, and R 2.5.0. upon startup, gc() reports used (Mb) gc trigger (Mb) max used (Mb) Ncells 268755 14.4 407500 21.8 350000 18.7 Vcells 139137 1.1 786432 6.0 444750 3.4 This is my baseline. linux
2013 Nov 21
2
[PATCH RFC 0/3] virtio: add new notify() callback to virtio_driver
On 21/11/13 07:47, Michael S. Tsirkin wrote: > On Wed, Nov 20, 2013 at 04:22:00PM +0100, Heinz Graalfs wrote: >> Hi, >> >> when an active virtio block device is hot-unplugged from a KVM guest, running >> affected guest user applications are not aware of any errors that occur due >> to the lost device. This patch-set adds code to avoid further request queueing
2013 Nov 21
2
[PATCH RFC 0/3] virtio: add new notify() callback to virtio_driver
On 21/11/13 07:47, Michael S. Tsirkin wrote: > On Wed, Nov 20, 2013 at 04:22:00PM +0100, Heinz Graalfs wrote: >> Hi, >> >> when an active virtio block device is hot-unplugged from a KVM guest, running >> affected guest user applications are not aware of any errors that occur due >> to the lost device. This patch-set adds code to avoid further request queueing