Displaying 4 results from an estimated 4 matches for "_get_data".
Did you mean:
get_data
2009 Jun 04
0
ogg audio streaming problem
...lengthInSamples = (uint32) ov_pcm_total (&ovFile, -1);
input is the file stream.
The first chunk data is played excellent, however, after that , it gives me
static noise.
I debugged the decoder, and it seems that the ogg pattern is not decoded
right in this case.
In vorbisfile.c
static long _get_data(OggVorbis_File *vf){
....
long bytes=(vf->callbacks.read_func)(*buffer*,1,CHUNKSIZE,vf->datasource);
..
}
The *buffer *should hold the header feild "oggs", however, it did not.
I think the problem is vf->seekable = 1.
if the vf->seekable = 1, is it the problem for streami...
2009 Jun 04
1
ogg audio streaming problem
...lengthInSamples = (uint32) ov_pcm_total (&ovFile, -1);
input is the file stream.
The first chunk data is played excellent, however, after that , it gives me
static noise.
I debugged the decoder, and it seems that the ogg pattern is not decoded
right in this case.
In vorbisfile.c
static long _get_data(OggVorbis_File *vf){
....
long bytes=(vf->callbacks.read_func)(buffer,1,CHUNKSIZE,vf->datasource);
..
}
The buffer should hold the header feild "oggs", however, it did not.
I think the problem is vf->seekable = 1.
if the vf->seekable = 1, is it the problem for streaming? Ho...
2016 Dec 19
0
[ANNOUNCE] libnftnl 1.0.7 release
...eak in nftnl_*_unset()
chain: Check correct attribute
src: fix missing error checking in parser functions
set: Add new attribute into 'set' to store user data
tests: Check set user data
src: Fix missing nul-termination in nftnl_*_set_str()
src: Fix nftnl_*_get_data() to return the real attribute length
src: Constify iterators
rule: Implement internal iterator for expressions
tests: Add missing tests to test-script.sh
expr: Fix lookup builder
tests: Fix tests for immediate and lookup expressions
tests: masq: Fix wrong expres...
2006 Aug 30
2
Continued:How can I seek in Ogg Vorbis file, but not using Vorbisfile library?
Hello, All.
First, I want to thank Ian Malone and Ralph Giles, thanks for your kind replies. But I still have problems about seek.
As you suggested, I could use ov_open_callbacks() to supply my own read/write/seek functions. So, can you give me an example? I?m sorry for my ignorance, because I haven?t used callbacks before.
I analyzed the vorbisfile.c in Tremor, and I think I