Displaying 4 results from an estimated 4 matches for "alemany".
2009 May 13
0
Speex seek with high precision
2009/5/14 Arnau Alemany <arnau.alemany at gmail.com>:
> 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 j...
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)
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);