search for: ov_hole

Displaying 10 results from an estimated 10 matches for "ov_hole".

Did you mean: lv_home
2001 Jul 16
2
Songs stopping early on my player
I suspect the stopping behaviour is my mishandling of either OV_EBADLINK or OV_HOLE. What should I be doing if either of these values are returned by ov_read? Having experimented more Winamp has no trouble with the "jerky" songs. But the songs where my player stops prematurely pause for a second or two in Winamp. And with WMP they continue to play properly, but from the...
2008 Apr 11
1
ov_read() returns OV_EINVAL (-131)
...t argue if I do sth wrong... I'm coding on a C++ game with Vorbis- and 5.1-Surround-compatibily. For two channels (stereo), everything's fine, but when I try to read a 6-channel-ogg, ov_read returns -131 (OV_EINVAL). That's strange, because as the specification says, it only returns OV_HOLE or OV_EBADLINK as errors [1]. Have I missed sth? Reguards, Matthias Brandt [1] http://xiph.org/vorbis/doc/vorbisfile/ov_read.html
2018 Nov 05
2
Decode ogg file while downloading: what are the good practices?
...m positions (when I call OggPlayer::seek()), while I extract audio samples (when I call OggPlayer::extract() every 5ms, in my test - basically, I just play the audio file), sometimes, I get random errors with ov_read(): - sometimes it returns 0 (end of file) - sometimes it returns an error (like an OV_HOLE error) - sometimes it just crashes And that, even if I seek to a position which is at least 44100 frames (1 second) before the end of the file... Has anyone had this problem? Is there maybe any buffer somewhere that I forget to flush, or something? Thanks for your help. -------------- next part...
2004 Jun 06
2
vorbisfile timestamp oddity
...ain sync (as if there was a hole), and one of my test cases fails: "reading data, rewinding and reading it again must always give the same results". (This also fails if I disable hole-padding.) More specifically, ov_pcm_tell returns 0 after the seek, and 3136 after reading 1024 frames. OV_HOLE is never returned. (On the first read through, it returns 1024 after reading 1024 frames, as expected.) ogginfo says: Warning: Vorbis stream 1 does not have headers correctly framed. Terminal header page contains additional packets or has non-zero granulepos Vendor: Xiphophorus libVorbis I 200112...
2018 Nov 05
2
Decode ogg file while downloading: what are the good practices?
OK, thanks for the information. > Is the overhead of closing and re-opening the handle significant on android? Not that much: I can close, reopen and seek in a file right before extracting samples to play a second audio file, while a first file is already extracting and playing, without any glitch, even on low-end device. -------------- next part -------------- An HTML attachment was
2018 Nov 05
0
Decode ogg file while downloading: what are the good practices?
...Player::seek()), while >I >extract audio samples (when I call OggPlayer::extract() every 5ms, in >my >test - basically, I just play the audio file), sometimes, I get random >errors with ov_read(): >- sometimes it returns 0 (end of file) >- sometimes it returns an error (like an OV_HOLE error) >- sometimes it just crashes > >And that, even if I seek to a position which is at least 44100 frames >(1 >second) before the end of the file... > >Has anyone had this problem? Is there maybe any buffer somewhere that I >forget to flush, or something? > >Thanks...
2004 Sep 27
1
ogg and keyframes
Hi, When doing a live ogg+theora stream on our server we ran into the following problem: When a client connects we send out the theora header pages followed by the actual live stream pages. The problem is that the first ogg data page does not have the right page number (2), which causes libogg to not want to decode the first _packet_ of that page. Since that first packet happens to contain the
2006 Jan 17
1
How to loop a Vobis sound ?
The sound file is played correctly for the first time, then when rewind to the initial position. then copy PCM to buffer, the OpenAL report an error. It seems like the OpenAL doesn't recognize the PCM data. The OpenAL error number : AL_INVALID_VALUE 0xA003 void Buffer::PCMData (ALuint id, ALenum eFormat, ALvoid *data, ALsizei size, ALsizei freq) { // Copy
2001 May 03
8
icecast 2.0 semi-permanent test stream
Icecast 2.0 and Ices 2.0 are both fairly usable now. I have set up a semi-permanent test stream for people to bang on at: http://i.cantcode.com:8888/ices.ogg Please report any problems you have. I say semi-permanent, because it will probably crash now and then, and I will be developing and putting up the new versions on a regular basis. If it stops working for more than an hour, somethings
2001 May 03
8
icecast 2.0 semi-permanent test stream
Icecast 2.0 and Ices 2.0 are both fairly usable now. I have set up a semi-permanent test stream for people to bang on at: http://i.cantcode.com:8888/ices.ogg Please report any problems you have. I say semi-permanent, because it will probably crash now and then, and I will be developing and putting up the new versions on a regular basis. If it stops working for more than an hour, somethings