Displaying 4 results from an estimated 4 matches for "flac_status".
Did you mean:
flac_stat_s
2004 Sep 10
3
slow FLAC__file_decoder_seek_absolute()...
...seek_absolute takes an incredibly long time
to seek. What can I do about this? How do I fix it?
Here's how I'm calling the function:
if (argc > 2) {
secs = atoi(argv[2]);
seek_point = (FLAC__uint64) secs * sample_rate;
printf("seeking to %d:%02d\n", secs/60, secs%60);
flac_status = FLAC__file_decoder_seek_absolute(decoder, seek_point);
if (flac_status) printf("seek absolute = %d\n", flac_status);
}
FLAC__file_decoder_process_remaining_frames(decoder);
Thanks,
Brendan Dowling
p.s., I am making a simple FLAC file player that runs on the Phatnoise
Car Audi...
2004 Sep 10
2
slow FLAC__file_decoder_seek_absolute()...
...t; >
> > Here's how I'm calling the function:
> >
> >
> > if (argc > 2) {
> > secs = atoi(argv[2]);
> > seek_point = (FLAC__uint64) secs * sample_rate;
> > printf("seeking to %d:%02d\n", secs/60, secs%60);
> >
> > flac_status = FLAC__file_decoder_seek_absolute(decoder,
> seek_point);
> >
> > if (flac_status) printf("seek absolute = %d\n", flac_status);
> > }
> >
> > FLAC__file_decoder_process_remaining_frames(decoder);
> >
> >
> >
> > Thanks,
>...
2004 Sep 10
0
slow FLAC__file_decoder_seek_absolute()...
...k. What can I do about this? How do I fix it?
>
> Here's how I'm calling the function:
>
>
> if (argc > 2) {
> secs = atoi(argv[2]);
> seek_point = (FLAC__uint64) secs * sample_rate;
> printf("seeking to %d:%02d\n", secs/60, secs%60);
>
> flac_status = FLAC__file_decoder_seek_absolute(decoder, seek_point);
>
> if (flac_status) printf("seek absolute = %d\n", flac_status);
> }
>
> FLAC__file_decoder_process_remaining_frames(decoder);
>
>
>
> Thanks,
>
> Brendan Dowling
>
>
> p.s., I am...
2004 Sep 10
0
slow FLAC__file_decoder_seek_absolute()...
...m calling the function:
> > >
> > >
> > > if (argc > 2) {
> > > secs = atoi(argv[2]);
> > > seek_point = (FLAC__uint64) secs * sample_rate;
> > > printf("seeking to %d:%02d\n", secs/60, secs%60);
> > >
> > > flac_status = FLAC__file_decoder_seek_absolute(decoder,
> > seek_point);
> > >
> > > if (flac_status) printf("seek absolute = %d\n", flac_status);
> > > }
> > >
> > > FLAC__file_decoder_process_remaining_frames(decoder);
> > >
> >...