search for: pcm_offset

Displaying 3 results from an estimated 3 matches for "pcm_offset".

Did you mean: _pcm_offset
2013 May 09
2
opus file trimming/clipping
...ion." Question: Is this the right approach and how do I then specify where the decoding is supposed to stop? I will describe the steps I've tried so far (maybe not the best approach): I have tried modifying the opusfile-1.0.2/examples/seeking_example.c as a base, replacing pcm_offset=(ogg_int64_t)(rand()/(double)RAND_MAX*pcm_length); with pcm_offset=(ogg_int64_t)((double)pcm_length/2.0); presumably to start the decoding at the middle of the file by: ret=op_pcm_seek(of,pcm_offset); However, when I save the file using the write_samples(buffer,nsample...
2001 Mar 01
2
ov_time_seek to 0s fails... AGAIN
Hello everybody, I sent something about this before, but this bug is still there, so... If you call ov_time_seek(vf, 0); it will fail, returning OV_EFAULT (from ov_pcm_seek_page). I think this must be a bug, because seeking to 0 seconds *should* be OK. Another thing, when ov_time_seek fails with OV_EFAULT, you cannot continue playing (because of the goto seek_error). This is not clear from
2002 Mar 18
2
[PATCH] make vorbis work with KDE 3.0
..., Martin RCS file: /usr/local/cvsroot/vorbis/lib/vorbisfile.c,v retrieving revision 1.59 diff -u -r1.59 vorbisfile.c --- lib/vorbisfile.c 2002/03/07 03:41:03 1.59 +++ lib/vorbisfile.c 2002/03/18 09:36:43 @@ -1175,6 +1175,7 @@ /* dump machine so we're in a known state */ vf->pcm_offset=-1; _decode_clear(vf); + ret=OV_ENOSEEK; return ret; } <p>--- >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-dev-request@xiph.org' containing only the word 'u...