similar to: decoder_example -- event driven?

Displaying 20 results from an estimated 900 matches similar to: "decoder_example -- event driven?"

2002 Aug 06
0
Getting a GUI to work with Vorbis code
I am trying to create a Graphical User Interface for a Vorbis Player under MS Visual C++ 6.0 I was initially trting to use the code from decoder_example.c but I keep getting linker errors. I have set up my project as told to by James Boer on this mailing list. This is as follows: This document was prepared from an email received from James Boer on the Ogg Vorbis mailing list. It gives a
2015 Jun 27
0
Sound glitch when using libvorbisfile and libao
Hi Gunter, I've solved the sound glitch. Since it was hard to reproduce, it took me a while, but I eventually figured it out. What I needed to do was fill the buffer with more data before handing it off to ao_play. It requires lots of bookkeeping, pointer arithmetic, and a sufficiently large buffer. First, the bigger buffer. I just pulled this code from ogg123: #define PRIMAGIC
2008 Aug 28
0
Error while cross compiling libvorbis 1.2.0
Dear All, I am trying to cross compile the dependencies of ices for arm linux. I have been able to compile libxml2 (2.6.32) and libogg (1.1.3) successfully but I am getting stuck at compiling libvorbis (1.2.0). Making install in examples make[1]: Entering directory `/home/sr/armlinux/stream/libvorbis-1.2.0/examples' /bin/bash ../libtool --tag=CC --mode=link /usr/local/arm/bin/arm-linux-gcc
2010 Jun 11
1
Help - Variable declaration 'convsize' in file 'decoder_example.c'
?? Hello list! I am new to using vorbis. To get preliminary idea about its usage, I went through the file 'decoder_example.c'. I tried to create a project to compile but the compiler reports that the variable 'convsize' is undeclared. Please where is this variable declared? Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2002 Oct 05
2
ogg123 remote interface
Hi, I've been working on ogg123 to see if i could add a remote interface compatible with the one in mpg123. This remote interface is used mainly by mp3 players which use mpg123 as their backend. The reason i did this was that i have recently encoded some of my cd's in ogg vorbis format but wanted to keep using my favourite player (playmp3list,
2005 Jun 22
2
ogg_sync_pageout
It seems to me that running ogg_sync_pageout doesn't automatically advance the page. This is good if you haven't worked with the given page, makes coding somewhat easier. However, when does a page advance. Is it after a call to ogg_stream_pagein? On a side note, I need to do seeking on top of libvorbis, I'd love to use vorbisfile but sadly I can't. Is there a reasonable way to
2002 Aug 12
2
Outputting Sound from decoder_example
I am running the decoder_example file but instead of ouptutting the PCM to stdout I would like to output it to the soundcard so that I can hear the file playing. I am using Visual C++. Could someone please tell me the quickest way to do this. I am quite new to Visual C++ so don't assume that I know about the foundation classes. Thanks, Paul --- >8 ---- List archives:
2009 May 12
2
compile error of libtheora example
hi all: i downloaded libtheora1.0.tar.gz from xiph.org, and when i compile it, such error message popped. i tried to run player_example.c under /libtheora_1.0/examples/. error message: ivysummer at ivysummer-desktop:~/??/libtheora-1.0/examples$ gcc -o player player_example.c /tmp/ccpyle3c.o: In function `buffer_data': player_example.c:(.text+0x15): undefined reference to
1999 Oct 04
3
Detailed decoder pseudocode (was: Re: ETA?)
> > Which part? > > Well, my biggest problem is dealing with files. As you have mentioned > that fill_buffer() is obsolete, what has replaced it? ogg_sync_buffer() > didn't seem to be what I was looking for, as far as I can tell... am I > headed in completely the wrong direction? Ah, OK, I understand where you're headed now. The libvorbis API is different than
2002 Aug 08
1
Outputting Sound from decoder_example
I am running the decoder_example file but instead of ouptutting the PCM to sdout I would like to output it to the soundcard so that I can hear the file playing. I am using Visual C++. Could someone please tell me the quickest way to do this. I am quite new to Visual C++ so don't assume that I know about the foundation classes. Thanks, Paul PS I managed to build the GUI using the
2006 Aug 06
2
Speex + Ogg package
I'm currently working on a speex + theora webchat. I have both working alone, but to make them work together and to know where the package goes, I'm trying to use ogg packages. With theora there has been no problem, but with speex I can't make it work. The problem is that for a second it works great, but then it begings to gain lag, and in a little time it has 5-10 lag seconds (into
2008 Apr 29
2
More trival questions
Hopefullly this is once again something trivial I'm missing. I'm still trying to figure out how to pull a part a stream. I get two out the three theora headers I can see in the file (http://v2v.cc/~j/theora_testsuite/320x240.ogg) if I use the buffer in the page struct and nothing usable if I try to use the packet structs. Hopefully this is once again something something trivial I've
2000 Jul 24
3
Decoder example question
Hey all...I'm trying to use the decoder_example.c in the examples directory to decode a .ogg file that was encoded by using the binary encoder ogglame.exe and encoded via the encoder_example.c. I'm running into a problem with the decoder though. It plays FINE under the WinAmp plugin but I when I try and use the decoder_example.c to decode the file it says "End of file before finding
2006 Aug 06
0
Newbie: How to rewind a videostream (long)
Hello, I'm new to this list, and pretty much also to the codec universe. In a computer game I'm working on, there is an 3D TV-screen onto which I project the frames of a movie. The movie is of course stored as theora, no audio as it's not needed yet. I have it working so far, extracting a frame and uploading it to the graphics card when the scene is drawn. The example file
2009 May 13
2
Speex seek with high precision
Hello everybody, I'm new to this mailing list so I'm sorry if it's the wrong place to post this. I'm developing a Speex player and I need to seek with a precision of milliseconds. I used liboggz that supposedly does just that, but it never seeks exactly where it should. For example if I use oggz_seek_units(oggz, 18450, SEEK_SET) result it's 16386 and there is a delay between
2009 May 16
1
Speex seek with high precision
Hello, This is the code, it's a little crap but only to see if it works. I assume rate = 16000 and frame_size = 320. if (this->seek_to != -1) // SKIP { ogg_int64_t max_units; //max_units = speex_seek(fin, this->seek_to, 0, rate); int nPages = 0; int nPackets = 0; // Pone el cursor en la posici?n inicial del fichero fseek(fin, 0, SEEK_SET);
2009 May 16
2
Speex seek with high precision
Hello Conrad, I'm trying to seek the way you told but I'm facing a problem. ogg_page_packets returns 164 and following code returns 189. Shouldn't it be the same, what does that means ? int res; while (true) { res = ogg_stream_packetout(&os, &op); if (res == 1) nPackets++; if (res == -1)
2006 Aug 06
0
Speex + Ogg package
If by webchat you mean anything interactive, then I can already tell you what the problem is. TCP+Ogg. For anything real-time, you want UDP/RTP without Ogg. Also, you need to take into account the fact that computers do *not* have accurate clock and their soundcards drift. None of these problems are fatal, but you need to take that into account in the design. Jean-Marc On Mon, 2006-08-07 at
2006 Oct 09
1
Vorbis primitive API examples (LONG)
Okay, how do I drop a changeset/patchset/tag for you folks from SVN? At this point, I have written three examples of how to use the basics of the ogg streaming and decoding in Tremor. I heartily welcome any suggestions, improvements and corrections that you can point out in the code. The examples required me to make some small modifications to the main tremor library. However, the changes
2015 Jun 14
2
Sound glitch when using libvorbisfile and libao
Hi Gunter, I think this problem started happening when I upgraded from Debian Wheezy to Debian Jessie. If nothing looks amiss in my code, it probably is a sound driver problem. But since it works 100% of the time in ogg123, I feel I must have missed some corner case. My audio driver is almost always active. I usually have my music player going in the background when I do my testing. The problem