Displaying 7 results from an estimated 7 matches for "ov_seekable".
2001 May 11
2
Application Crashes When Calling ov_time_seek() function
I’m running into a problem with my application crashing when I make a call
to the ov_time_seek() function.
The call includes the OggVorbis_File and it is indeed seekable, as I first
check that using the ov_seekable() function. Everytime, however I try to
seek forward, the application dies with a core dump. I’m working with the
example from the “VorbisFile Documentation” site.
The application is compiled using gcc version 2.96 20000731 on a Red Hat
Linux 7.0 system (Intel).
Has anyone else experienced a si...
2001 Apr 04
2
Play back file from RAM
How can I decode a Vorbis file which is in RAM (not in a file
on the disk)??
(Writing it to disk isn't an option...)
--
<\___/>
/ O O \
\_____/ FTB.
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request@xiph.org'
containing only the word
2001 Sep 06
1
NULLs in ov_callbacks
When calling ov_open_callbacks(), is it safe to have seek_func, tell_func, and
close_func all equal to NULL? If not, which ones must I provide and how can I
return an error e.g., data source is not seekable?
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from
2001 Nov 12
1
Vorbisfile: non-seekable
...code:
if (ov_open(NULL, &vf, const_cast<char*>(reinterpret_cast<const
char*>(get_data())), get_size()) < 0)
error = 0x100;
else
{
vorbis_info* vi = ov_info(&vf, -1);
Cvirtual_file f;
const int cb_samples = ov_pcm_total(&vf, -1);
const bool seekable = ov_seekable(&vf);
So all data is already in memory and passed to ov_open.
This stream is not seekable. Why not?
And shouldn't it be seekable?
Olaf van der Spek
Almere, Holland
Olaf@XCC.TMFWeb.NL
http://xccu.sourceforge.net/
http://xcc.tiberian.com/
--- >8 ----
List archives: http://www.xiph.org/...
2004 Apr 06
1
ov_open fails on Version 1.0.1
...0, SEEK_SET);
if (debug > 0) {
printf("About to open file as vorbis\n");
}
if(ov_open(inFile, &vf, NULL, 0) < 0) {
fprintf(stderr, "Failed to open file as vorbis. File ignored
'%s'\n", fileName);
return 0;
}
if (!ov_seekable(&vf)) {
fprintf(stderr, "File is not seekable. File ignored '%s'\n",
fileName);
ov_clear(&vf);
return 1;
}
vorbisInfo = ov_info(&vf, 0);
The failure is on the ov_open and is an "Access Violation".
Any ideas w...
2001 Mar 29
3
ov_pcm_seek() is very slow...
I realise the it's hard to do a seek in a variable bitrate
file but I didn't think it was this bad. It seems to vary
a lot with the file but the total time to do an ov_open()
and ov_pcm_seek() can add upp to a second or more. By this
time my DirectX buffers have wrapped around and are looping.
Can anybody think of a solution for this? I really need a
faster response time for my in-game
2006 Jan 17
1
How to loop a Vobis sound ?
...int result = ov_read (&m_tOggStream, pcm + size, iBufSize - size, 0, iSample, 1, §ion);
if (result > 0)
size += result;
else if (result < 0)
throw OvErrorString (result);
else
break;
}
return size;
}
bool OggStream::Rewind ()
{
if (!ov_seekable (&m_tOggStream))
return false;
int result = ov_pcm_seek (&m_tOggStream, m_iStreamStart);
// int result = ov_time_seek_lap (&m_tOggStream, 0);
if (result < 0)
throw OvErrorString (result);
return true;
}
bool OggStream::LoadFromMemory (FileInMemory *...