diff options
Diffstat (limited to 'sydney.h')
-rw-r--r-- | sydney.h | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -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); |