search for: oggz_read

Displaying 18 results from an estimated 18 matches for "oggz_read".

2009 Feb 13
1
Decoding from memory using libfishsound
...them to file application example from libfishsound is properly decoding it. Problem starts, when I want to decode from memory, for example: receive few packages, decode them and send to sound card. This is code for decoding, which cast callback function read_packet. oggz = oggz_open_stdio(newfile,OGGZ_READ); oggz_set_read_callback (oggz, -1, read_packet, fsound); while ((n = oggz_read (oggz, 1024)) > 0); I've tried to create object using oggz_new, a write from memory data using oggz_read, but it doesn't worked. Data from package is stored in QByteArray which can return char*. Please help...
2012 May 16
2
Problems seeking with liboggz
...eadPage and OggzReadPacket callbacks with oggz_set_read_page() and oggz_set_read_callback(). For the moment I am mainly having troubles with seeking. Maybe I am not using correctly liboggz API. What happens: - I open a Ogg Speex-encoded audio file with oggz_open("MyFile.spx", OGGZ_READ | OGGZ_AUTO); - I have a loop of invocations of oggz_read() that triggers in the due time the page and packet callbacks defined by me. - But when I randomly do seeking by means of ogg_int64_t rseek = oggz_seek_units(pOGGZ, posMsecs, SEEK_SET); I get erratic results: Man...
2012 May 21
1
Problems seeking with liboggz
...ck (OGGZ* oggz, oggz_packet* packet, long serialno, void* user_data); int myReadPageCallback (OGGZ* oggz, const ogg_page* og, long serialno, void* user_data); int _tmain(int argc, _TCHAR* argv[]) { OGGZ* pOGGZ; int ret; oggz_off_t ofs; pOGGZ = oggz_open("MyAudio.spx", OGGZ_READ | OGGZ_AUTO); ret = oggz_set_read_callback (pOGGZ, -1, myReadPacketCallback, (void*)0); ret = oggz_set_read_page (pOGGZ, -1, myReadPageCallback, (void*)0); ofs = oggz_seek(pOGGZ, 0, SEEK_END); printf("\n Audio file size in bytes = %8lld", ofs); ofs = oggz_see...
2009 Jun 15
2
oggz-chop gives segmentation fault
...since it isn't compiled with debugging symbols: (gdb) bt #0 0x00007f9e5d2f0092 in memcpy () from /lib/libc.so.6 #1 0x0000000000403698 in ?? () #2 0x000000000040262e in ?? () #3 0x000000000040285d in ?? () #4 0x00007f9e5da6e144 in ?? () from /usr/lib/liboggz.so.1 #5 0x00007f9e5da6e516 in oggz_read () from /usr/lib/liboggz.so.1 #6 0x00007f9e5da6bf05 in oggz_run () from /usr/lib/liboggz.so.1 #7 0x0000000000401d5e in ?? () #8 0x000000000040433d in ?? () #9 0x00007f9e5d28a5a6 in __libc_start_main () from /lib/libc.so.6 #10 0x0000000000401ba9 in ?? () #11 0x00007fff65e961c8 in ?? () #12 0x000...
2012 May 21
0
Problems seeking with liboggz
...t myReadPageCallback (OGGZ* oggz, const ogg_page* og, long serialno, > void* user_data); > > > > int _tmain(int argc, _TCHAR* argv[]) > > { > > OGGZ* pOGGZ; > > int ret; > > oggz_off_t ofs; > > > > pOGGZ = oggz_open("MyAudio.spx", OGGZ_READ | OGGZ_AUTO); > > ret = oggz_set_read_callback (pOGGZ, -1, myReadPacketCallback, > (void*)0); > > ret = oggz_set_read_page (pOGGZ, -1, myReadPageCallback, > (void*)0); > > > > ofs = oggz_seek(pOGGZ, 0, SEEK_END); > > printf("\n Audio file...
2012 May 23
0
Problems seeking with liboggz
...t myReadPageCallback (OGGZ* oggz, const ogg_page* og, long serialno, > void* user_data); > > > > int _tmain(int argc, _TCHAR* argv[]) > > { > > OGGZ* pOGGZ; > > int ret; > > oggz_off_t ofs; > > > > pOGGZ = oggz_open("MyAudio.spx", OGGZ_READ | OGGZ_AUTO); > > ret = oggz_set_read_callback (pOGGZ, -1, myReadPacketCallback, > (void*)0); > > ret = oggz_set_read_page (pOGGZ, -1, myReadPageCallback, > (void*)0); > > > > ofs = oggz_seek(pOGGZ, 0, SEEK_END); > > printf("\n Audio file...
2006 Feb 13
0
Oggz 0.9.4 Released
...liboggz/download/liboggz-0.9.4.tar.gz Many of the improvements in this release were driven by development of the new Annodex Media Validation Service: http://validator.annodex.org/ New in this release: * liboggz: Added new oggz_run() convenience function - equivalent to calling oggz_read() or oggz_write() in a loop, but only returns upon completion or error - added new oggz_run_set_blocksize() function - updated libtool shared version info to 3:0:2 * liboggz: Improved callback handling - added delayed callback error handling for oggz...
2006 Feb 13
0
Oggz 0.9.4 Released
...liboggz/download/liboggz-0.9.4.tar.gz Many of the improvements in this release were driven by development of the new Annodex Media Validation Service: http://validator.annodex.org/ New in this release: * liboggz: Added new oggz_run() convenience function - equivalent to calling oggz_read() or oggz_write() in a loop, but only returns upon completion or error - added new oggz_run_set_blocksize() function - updated libtool shared version info to 3:0:2 * liboggz: Improved callback handling - added delayed callback error handling for oggz...
2012 May 17
0
Problems seeking with liboggz
...and oggz_set_read_callback().**** > > **** > > For the moment I am mainly having troubles with seeking. Maybe I am not > using correctly liboggz API.**** > > What happens:**** > > - I open a Ogg Speex-encoded audio file with oggz_open("MyFile.spx", > OGGZ_READ | OGGZ_AUTO); **** > > - I have a loop of invocations of oggz_read() that triggers in the due > time the page and packet callbacks defined by me.**** > > - But when I randomly do seeking by means of **** > > ogg_int64_t rseek = oggz_seek_units(pOGGZ, posMsecs, SEEK_S...
2009 Mar 18
1
liboggz oggz_get_bos, oggz_get_eos
Hi, I was wondering what oggz_get_bos and oggz_get_eos are supposed to do, specifically are they meant to be used in oggz_read mode? The documentation says "Determine if a given logical bitstream is at [bos/eos]". However if get_bos is given a specific serialno it returns that stream's b_o_s flag which, in read mode, is set on initialisation. The serialno=-1 (for all streams) instead checks delivered_non_b...
2009 Aug 24
2
oggz reading & seeking
??????? I've rewritten my theora player using liboggz. I've stumbled upon a few issues though. First of all liboggz exposes oggz_read and oggz_run, but how can i read only sound data, or only video data using liboggz, say something like this: oggz_read_sound(1024), oggz_read_video(1024). ? ? ? ?? Second of all i tried using liboggz's seek function. Immediately after the seek i get some "garbage" frames: how can i ad...
2009 Sep 14
0
Oggz 1.0.0 Release
...ded_seek_set() public API call. * Updated shared version info to 7:0:6 Internal -------- * Handle Theora version > 3.2.0 initial granulepos 1|0 * Fix data alignment on ARM (Erik de Castro Lopo, Chris Double, Vladimir Vukicevic) * Fix for inefficient oggz_seek_units() (Sean Young) * oggz_read: always set the internal offset to the start of the current page. This is returned by oggz_tell() and can be queried within a ReadPage callback. * oggz_read: Fix packetno check for holes in headers. The packetno has not yet been incremented, so the value to check is off-by-one. * Annode...
2009 Apr 10
0
Oggz 0.9.9 Release
...OUT_OF_MEMORY * skeleton.c::ogg_from_fisbone(): avoid memcpy of NULL fp->message_header_fields. Fixes ticket:408, reported by j^ * Mozilla bug 463756: return an error when a hole (ie. missing sequence number) is detected in the headers of a track * Remove dead code from oggz_read.c for ticket:439, reported by Coverity * Check for NULL return value of val in cgi.c (ticket:438, reported by Coverity) * Add NULL return checks (ticket:440, reported by Coverity) * Check for integer overflows in calculations for realloc and when using strlen returns. For Moz...
2013 Sep 06
0
Multi-track Seeking with oggz
...list for liboggz questions - if not please let me know. If I have multiple logical streams in an ogg file, and I invoke the oggz_seek_units() function, how does it know on which logical stream to seek? Or does it matter? For example, assume: 1. I've opened an ogg file with the correct flags: OGGZ_READ | OGGZ_AUTO 2. My ogg file contains 4 logical streams. 3. Each logical stream is identical in terms of codec (Speex), sample-rate (44.1kHz), sample-size, frame-size, single channel (mono), etc. Except each stream has unique audio data. (e.g., concurrently recording from four microphones.) 4. I...
2010 Apr 29
0
liboggz release 1.0.2 (1.0-stable series)
...oggz.c | 2 +- src/liboggz/oggz_auto.c | 6 +- src/liboggz/oggz_comments.c | 47 ++- src/liboggz/oggz_dlist.c | 23 +- src/liboggz/oggz_dlist.h | 6 +- src/liboggz/oggz_private.h | 3 + src/liboggz/oggz_read.c | 46 +++- src/liboggz/oggz_seek.c | 2 + src/tests/comment-test.c | 21 +- src/tools/oggz-validate.c | 2 +- 19 files changed, 924 insertions(+), 50 deletions(-) create mode 100644 TODO create mode 100644 macosx/English.lproj/I...
2010 Apr 29
0
liboggz release 1.1.1
...oggz.c | 2 +- src/liboggz/oggz_auto.c | 6 +- src/liboggz/oggz_comments.c | 47 ++- src/liboggz/oggz_dlist.c | 23 +- src/liboggz/oggz_dlist.h | 6 +- src/liboggz/oggz_private.h | 3 + src/liboggz/oggz_read.c | 46 +++- src/liboggz/oggz_seek.c | 2 + src/tests/comment-test.c | 21 +- src/tools/oggz-validate.c | 2 +- 19 files changed, 903 insertions(+), 49 deletions(-) create mode 100644 TODO create mode 100644 macosx/English.lproj/I...
2004 Aug 06
3
seeking
Hi, I need to know if it is possible to seek the Speex stream. I want to have an ability to seek in time, just like Vorbis does. Vorbis has function "ov_time_seek" and I want something like this from Speex. Is this possible? Thanks for any reply. Rado --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this
2005 Feb 27
3
Cygwin-bug#20050227T2233: liboggz: Missing manual pages - oggzinfo, oggzed, oggzdiff
...ges. ... .inst/usr/share/man/man1/oggzdump.1.gz .inst/usr/share/man/man1/oggzdiff.1.gz .inst/usr/share/man/man1/oggzmerge.1.gz .inst/usr/share/man/man1/oggzrip.1.gz .inst/usr/include .inst/usr/include/oggz .inst/usr/include/oggz/oggz.h .inst/usr/include/oggz/oggz_constants.h .inst/usr/include/oggz/oggz_read.h .inst/usr/include/oggz/oggz_seek.h .inst/usr/include/oggz/oggz_write.h .inst/usr/include/oggz/oggz_io.h .inst/usr/include/oggz/oggz_table.h .inst/usr/include/oggz/oggz_deprecated.h .inst/usr/lib .inst/usr/lib/liboggz.la .inst/usr/lib/liboggz.a .inst/usr/lib/pkgconfig .inst/usr/lib/pkgconfig/oggz....