similar to: Streaming API?

Displaying 20 results from an estimated 400 matches similar to: "Streaming API?"

2001 Jul 15
1
getting a wierd results from ov_time_tell()
>From the documentation that I read, ov_time_tell is supposed to tell you the how many seconds the decoder is into in the stream. However, I'm getting some weird results from it. On my stream (which is seekable - I verified it), ov_time_total returns the correct total seconds. However, when I start playing, ov_time_tell first gives me a wrong floating point number (like 4.969.). when I
2004 Jul 01
8
Tutorial/Docs for using libvorbis directly
Hi, We needed a vorbis decoder that operated differently from the approach taken libvorbisfile. So I sat down, looked through the docs, and the sample decoder that come with libvorbis and wrote our own. Since I couldn't find any docs for the API for libvorbis itself, I've written some. It details all the steps you need to go through to write a _basic_ reusable decoder library using
2006 Jun 09
4
c++ Wav->ogg encoder
Hi I'm new with ogg and also with using third party libraries. I'm making a C++ PocketPC program and I need a simple wav->ogg encoder function. But as I have tried to use ogg vorbis libraries I don't know what or how to use them. I think that best way would be to use libogg 1.1.3 and libvorbis 1.1.2. Do I even need both of them, since I only need to have capability of
2007 Dec 25
1
Sample code for streaming from a file
It's not by much but the little piece of the puzzle I haven't been able to figure out is how to write the function that will read out a small chuck, process it, and then exit. This function would then be called continuously to process another small chunk when the previous chunk is done playing. I've already tried separating out that bit of code in speexdec to no avail.
2001 Feb 14
1
Problem with seek functions,
On Mon, 12 February 2001, OmegaDan wrote: [snip code] Hmm, weird.. that does work for me. I only had the trouble that ov_time_tell returned negative infinity after a ov_time_seek to 0 secs. This is my code: function TMainForm.ReadBuf(Buffer: PChar; Size: Longword; var Time: Single): Longword; var BytesRead, Change: Longword; begin BytesRead := 0; Time := ov_time_tell(vf^); if Time <
2008 Apr 07
3
speex affected by vulnerability described in [oCERT 2008-02]
Hi folks, we've tried contacting Jean-Marc Valin but email address bounces. We published yesterday an advisory about libfishsound, you can find it at the following URL: http://www.ocert.org/advisories/ocert-2008-2.html The issues seems to affect Speex (since the code is the same) versions <= 1.1.12. While the 1.2beta branch is not vulnerable we advise that you fix with a security release
2010 Apr 30
2
Simple example of decoding streaming audio realtime?
Conrad, That's exactly what I was looking for. I just got finish trying several attempts at porting libfishsound to XCode/CocoaTouch land but am facing dependency issues on the other xiph libraries. (liboggz, libvorbis, libflac, etc.) Rest assured I know what the issues are and how to address them. I am at a fork here. I can either port the bulk of the xiph libraries to XCode or continue on
2010 Apr 29
4
Simple example of decoding streaming audio realtime?
Hi, I'm new to Speex and a little uncomfortable in C programming. I'm looking for a simple example of how I'd use Speex to decode a speex file read off of an network stream and pass the decoded samples to an audio player. I have speex running in an iPhone project and I started digging thru the speexdec.c example trying to refactor as I made sense of the API calls. The example is a
2009 Sep 14
1
[libfishsound ] Using static libraries instead of DLLs
Dear, I'm sorry if this is not the correct list to post a question about libfishsound but I don't have found a specific one. I'm writing a library that use libfishsound for encode/decode speex and vorbis streams. I would like to incorporate all the functionalities into my static library without any dependencies on extern DLL. Is there a way to compile libfishsound using ogg, oggz,
2009 Feb 13
1
Decoding from memory using libfishsound
Hi, I have a problem. I've started to develop crossplatform sound receiving application using qt4/openal/libfishsound. Server is streaming audio coded with speex in ogg container throuh http. I'm receiving packages and when I write them to file application example from libfishsound is properly decoding it. Problem starts, when I want to decode from memory, for example: receive few
2001 Feb 05
0
ov_time_tell returns NAN (-INF) after ov_time_seek to 0 s
Hello, If you call ov_time_tell(vf) after a ov_time_seek(vf, 0), it returns Not A Number (Negative Infinity). I tested this only using Win32 MSVC++ 6 Dynamic, Release. Does it also occur on other platforms? Is this the right behaviour? Seems wrong to me. Anyway, it caused a range check error in my code, and a divide by zero when I disable range checking (I'm using Borland Delphi 5). I
2000 Aug 01
2
ogg123 timekeeping
Does this look okay? : Time: 1:15.50 of 4:13.73, Bitrate: 133.3 How about? : <snip from=ogg123.c> info.u_time = ov_time_total (&vf, -1); /* Seconds with double precision */ gettimeofday (&start_time, NULL); t_min = (long) info.u_time / (long) 60; t_sec = info.u_time - 60 * t_min; while (! eos) { gettimeofday (&cur_time, NULL); c_min = (long)
2004 Dec 28
5
Sound distorted after normalized.
> 16 bit ints have a range of -32768 to 32767. If you divide > -32768 by 32767.0 you end up with -1.00003051850948 which > is a bad thing. > > Try normalizing with a value of 32768.0. No. Speex expects values in the +-32767 range, not +-1.0. Just converting from int16 to float *is* the right thing to do. Jean-Marc -- Jean-Marc Valin <Jean-Marc.Valin@USherbrooke.ca>
2001 Mar 01
2
ov_time_seek to 0s fails... AGAIN
Hello everybody, I sent something about this before, but this bug is still there, so... If you call ov_time_seek(vf, 0); it will fail, returning OV_EFAULT (from ov_pcm_seek_page). I think this must be a bug, because seeking to 0 seconds *should* be OK. Another thing, when ov_time_seek fails with OV_EFAULT, you cannot continue playing (because of the goto seek_error). This is not clear from
2009 Apr 03
4
liboggplay, liboggz, libfishsound migrated to git.xiph.org
Hi, A week or two ago Viktor Gal migrated the liboggplay source repo to git.xiph.org, and this week I moved the liboggz and libfishsound repositories. You can see the git repositories available via gitweb at http://git.xiph.org/ I wrote some brief news about the move, and instructions for getting the code: http://blog.kfish.org/2009/04/liboggplay-liboggz-libfishsound.html Thanks to Ralph Giles
2009 Apr 03
4
liboggplay, liboggz, libfishsound migrated to git.xiph.org
Hi, A week or two ago Viktor Gal migrated the liboggplay source repo to git.xiph.org, and this week I moved the liboggz and libfishsound repositories. You can see the git repositories available via gitweb at http://git.xiph.org/ I wrote some brief news about the move, and instructions for getting the code: http://blog.kfish.org/2009/04/liboggplay-liboggz-libfishsound.html Thanks to Ralph Giles
2009 Apr 03
4
liboggplay, liboggz, libfishsound migrated to git.xiph.org
Hi, A week or two ago Viktor Gal migrated the liboggplay source repo to git.xiph.org, and this week I moved the liboggz and libfishsound repositories. You can see the git repositories available via gitweb at http://git.xiph.org/ I wrote some brief news about the move, and instructions for getting the code: http://blog.kfish.org/2009/04/liboggplay-liboggz-libfishsound.html Thanks to Ralph Giles
2009 Apr 03
4
liboggplay, liboggz, libfishsound migrated to git.xiph.org
Hi, A week or two ago Viktor Gal migrated the liboggplay source repo to git.xiph.org, and this week I moved the liboggz and libfishsound repositories. You can see the git repositories available via gitweb at http://git.xiph.org/ I wrote some brief news about the move, and instructions for getting the code: http://blog.kfish.org/2009/04/liboggplay-liboggz-libfishsound.html Thanks to Ralph Giles
2013 May 20
2
libfishsound: Bug in fish_sound_flush
I apologize if this is the wrong list for this, but after searching the available lists at xiph.org, this is the closest I could find. I ran into a bug in the example fishsound-encode.c program where it gets OGGZ_ERR_BAD_SERIALNO errors from oggz: fish_sound_flush (fsound); oggz_run (oggz); oggz_close (oggz); fish_sound_delete (fsound); After debugging, it appears that
2007 Apr 28
2
SpeexEnc/SpeexDec Source Code
I'm working in .NET and have found that there is, unfortunately, no simple way to access unmanaged, object-oriented APIs from C#/VB.NET. Ultimately I have decided to adapt speexenx and speexdec into a simple, functional API with two functions: one for encoding an array of bytes, and one for decoding it. Does anyone know if the source code for speexenc and speecdec is available, or are they