diff options
author | Paul Adenot <[email protected]> | 2019-08-21 17:34:40 +0200 |
---|---|---|
committer | Matthew Gregan <[email protected]> | 2019-08-22 10:11:25 +1200 |
commit | 8c3e32bd24933f82220b66c88c845c4b2bdf28e7 (patch) | |
tree | 9250ea5fbb481108fd765c8d611f4317cd104ce0 /src/cubeb.c | |
parent | 323ced80197a2b3441d28bb12a4e53d4c30e0221 (diff) | |
download | cubeb-8c3e32bd24933f82220b66c88c845c4b2bdf28e7.tar.gz cubeb-8c3e32bd24933f82220b66c88c845c4b2bdf28e7.zip |
Remove panning API from cubeb
This is best done by the host application, and had very little
implementation anyways.
Diffstat (limited to 'src/cubeb.c')
-rw-r--r-- | src/cubeb.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/cubeb.c b/src/cubeb.c index cedd84c..85b104c 100644 --- a/src/cubeb.c +++ b/src/cubeb.c @@ -434,19 +434,6 @@ cubeb_stream_set_volume(cubeb_stream * stream, float volume) return stream->context->ops->stream_set_volume(stream, volume); } -int cubeb_stream_set_panning(cubeb_stream * stream, float panning) -{ - if (!stream || panning < -1.0 || panning > 1.0) { - return CUBEB_ERROR_INVALID_PARAMETER; - } - - if (!stream->context->ops->stream_set_panning) { - return CUBEB_ERROR_NOT_SUPPORTED; - } - - return stream->context->ops->stream_set_panning(stream, panning); -} - int cubeb_stream_get_current_device(cubeb_stream * stream, cubeb_device ** const device) { |