diff options
author | Lennart Poettering <lennart@poettering.net> | 2007-05-22 22:53:09 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2007-05-22 22:53:09 +0000 |
commit | c1b4872b0910c9aa784d878dca771b21c4690048 (patch) | |
tree | 2ca5aea3f57c1336ab3165b94a385da9db72c00f /sydney.h | |
parent | b60e60dbaeff9311b3e74a6d54bb3bbb2c1f61e3 (diff) |
lots of work
git-svn-id: file:///home/lennart/svn/public/libsydney/trunk@30 9ba3c220-e4d3-45a2-8aa3-73fcc9aff6ce
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); |