Re: [LAD] [LAU] cancelling I/O with libsndfile

2011-06-20 Thread Dan Muresan
> You need to supply me with a small test program and if necessary > this broken FLAC file. 1. Rather hard to do at the moment -- not the least because the brokenness is injected via the vio layer. 2. Why? This was not a bug report. This was an API *clarification request*. sndfile doesn't claim t

Re: [LAD] [LAU] cancelling I/O with libsndfile

2011-06-20 Thread Erik de Castro Lopo
Dan Muresan wrote: > >> does libsndfile ever clear the error flag on a file? E.g. if there is > >> a decoding error in a FLAC, and I sf_seek() back to the beginning, > >> will sf_read_() work "normally" again? > > > > Maybe not on FLAC. I would suggest  that you write a small > > standalone test p

Re: [LAD] [LAU] cancelling I/O with libsndfile

2011-06-20 Thread Dan Muresan
>> does libsndfile ever clear the error flag on a file? E.g. if there is >> a decoding error in a FLAC, and I sf_seek() back to the beginning, >> will sf_read_() work "normally" again? > > Maybe not on FLAC. I would suggest  that you write a small > standalone test program to  test this and if you

Re: [LAD] [LAU] cancelling I/O with libsndfile

2011-06-20 Thread Erik de Castro Lopo
Dan Muresan wrote: > Hi, > > does libsndfile ever clear the error flag on a file? E.g. if there is > a decoding error in a FLAC, and I sf_seek() back to the beginning, > will sf_read_() work "normally" again? Maybe not on FLAC. I would suggest that you write a small standalone test program to

Re: [LAD] [LAU] cancelling I/O with libsndfile

2011-06-20 Thread Dan Muresan
Hi, does libsndfile ever clear the error flag on a file? E.g. if there is a decoding error in a FLAC, and I sf_seek() back to the beginning, will sf_read_() work "normally" again? Or, if a premature EOF is reached, will seeking back somewhere in the file allow playback to resume? libsndfile claim