Added volume controle on sample level.
libao-async will adjust the volume of the samples.
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
ao_bufsize_async
|
||||
ao_clear_async
|
||||
ao_pause_async
|
||||
ao_set_volume_async
|
||||
ao_volume_async
|
||||
make-BufferInfo_t
|
||||
)
|
||||
|
||||
@@ -88,3 +90,8 @@
|
||||
;extern void ao_pause_async(void *handle, int pause);
|
||||
(define-libao-async ao_pause_async(_fun _libao-async-handle-pointer _int -> _void))
|
||||
|
||||
;extern void ao_set_volume_async(void *handle, double percentage)
|
||||
(define-libao-async ao_set_volume_async (_fun _libao-async-handle-pointer _double -> _void))
|
||||
|
||||
;extern double ao_volume_async(void *handle)
|
||||
(define-libao-async ao_volume_async (_fun _libao-async-handle-pointer -> _double))
|
||||
|
||||
Reference in New Issue
Block a user