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 /include | |
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 'include')
-rw-r--r-- | include/cubeb/cubeb.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/cubeb/cubeb.h b/include/cubeb/cubeb.h index 3305eb6..e6cf8dd 100644 --- a/include/cubeb/cubeb.h +++ b/include/cubeb/cubeb.h @@ -568,20 +568,6 @@ CUBEB_EXPORT int cubeb_stream_get_latency(cubeb_stream * stream, uint32_t * late @retval CUBEB_ERROR_NOT_SUPPORTED */ CUBEB_EXPORT int cubeb_stream_set_volume(cubeb_stream * stream, float volume); -/** If the stream is stereo, set the left/right panning. If the stream is mono, - this has no effect. - @param stream the stream for which to change the panning - @param panning a number from -1.0 to 1.0. -1.0 means that the stream is - fully mixed in the left channel, 1.0 means the stream is fully - mixed in the right channel. 0.0 is equal power in the right and - left channel (default). - @retval CUBEB_OK - @retval CUBEB_ERROR_INVALID_PARAMETER if stream is null or if panning is - outside the [-1.0, 1.0] range. - @retval CUBEB_ERROR_NOT_SUPPORTED - @retval CUBEB_ERROR stream is not mono nor stereo */ -CUBEB_EXPORT int cubeb_stream_set_panning(cubeb_stream * stream, float panning); - /** Get the current output device for this stream. @param stm the stream for which to query the current output device @param device a pointer in which the current output device will be stored. |