From c1b4872b0910c9aa784d878dca771b21c4690048 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 22 May 2007 22:53:09 +0000 Subject: lots of work git-svn-id: file:///home/lennart/svn/public/libsydney/trunk@30 9ba3c220-e4d3-45a2-8aa3-73fcc9aff6ce --- sydney.h | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'sydney.h') diff --git a/sydney.h b/sydney.h index 032caaf..3103c54 100644 --- a/sydney.h +++ b/sydney.h @@ -342,21 +342,15 @@ int sa_stream_get_position(sa_stream_t *s, sa_position_t position, int64_t *pos) /** Interleaved capture function */ int sa_stream_read(sa_stream_t *s, void *data, size_t nbytes); -/** Interleaved playback function */ -int sa_stream_write(sa_stream_t *s, const void *data, size_t nbytes); - /** Non-interleaved capture function */ int sa_stream_read_ni(sa_stream_t *s, unsigned channel, void *data, size_t nbytes); + +/** Interleaved playback function */ +int sa_stream_write(sa_stream_t *s, const void *data, size_t nbytes); /** Non-interleaved playback function */ int sa_stream_write_ni(sa_stream_t *s, unsigned channel, const void *data, size_t nbytes); - -/** Interleaved capture function with seek offset */ -int sa_stream_pread(sa_stream_t *s, void *data, size_t nbytes, int64_t offset, sa_seek_t whence); /** Interleaved playback function with seek offset */ int sa_stream_pwrite(sa_stream_t *s, const void *data, size_t nbytes, int64_t offset, sa_seek_t whence); - -/** Non-interleaved capture function with seek offset */ -int sa_stream_pread_ni(sa_stream_t *s, unsigned channel, void *data, size_t nbytes, int64_t offset, sa_seek_t whence); /** Non-interleaved playback function with seek offset */ int sa_stream_pwrite_ni(sa_stream_t *s, unsigned channel, const void *data, size_t nbytes, int64_t offset, sa_seek_t whence); -- cgit