src/sndfile.h.in : Add SF_SEEK_SET/CUR/END.

This commit is contained in:
Erik de Castro Lopo 2011-12-19 20:31:19 +11:00
parent d24ff22aa7
commit 791db7bed7
2 changed files with 9 additions and 0 deletions

View File

@ -3,6 +3,9 @@
* libsndfile.spec.in
Change field name 'URL' to 'Url'.
* src/sndfile.h.in
Add SF_SEEK_SET/CUR/END.
2011-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/id3.c

View File

@ -555,6 +555,12 @@ int sf_format_check (const SF_INFO *info) ;
** On error all of these functions return -1.
*/
enum
{ SF_SEEK_SET = SEEK_SET,
SF_SEEK_CUR = SEEK_CUR,
SF_SEEK_END = SEEK_END
} ;
sf_count_t sf_seek (SNDFILE *sndfile, sf_count_t frames, int whence) ;