-
This commit is contained in:
@@ -245,8 +245,6 @@ void ao_play_async(void *ao_handle, double at_second, int buf_size, void *mem)
|
|||||||
MUTEX_UNLOCK(h->mutex);
|
MUTEX_UNLOCK(h->mutex);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void ao_clear_async(void *ao_handle)
|
void ao_clear_async(void *ao_handle)
|
||||||
{
|
{
|
||||||
AO_Handle *h = (AO_Handle *) ao_handle;
|
AO_Handle *h = (AO_Handle *) ao_handle;
|
||||||
|
|||||||
@@ -89,7 +89,7 @@
|
|||||||
(set-ao-handle-byte-format! handle endianness)
|
(set-ao-handle-byte-format! handle endianness)
|
||||||
(set-ao-handle-rate! handle rate)
|
(set-ao-handle-rate! handle rate)
|
||||||
(set-ao-handle-channels! handle channels)
|
(set-ao-handle-channels! handle channels)
|
||||||
(set-ao-handle-async-player! handle (ao_create_async ao-device)) ; ao_play_ptr))
|
(set-ao-handle-async-player! handle (ao_create_async ao-device ao_play_ptr))
|
||||||
(hash-set! devices handle-num ao-device)
|
(hash-set! devices handle-num ao-device)
|
||||||
(fin:register-finalizer handle
|
(fin:register-finalizer handle
|
||||||
(lambda (handle)
|
(lambda (handle)
|
||||||
|
|||||||
Reference in New Issue
Block a user