-
This commit is contained in:
Binary file not shown.
@@ -270,7 +270,7 @@ double ao_music_duration_async(void *ao_handle)
|
|||||||
{
|
{
|
||||||
AO_Handle *h = (AO_Handle *) ao_handle;
|
AO_Handle *h = (AO_Handle *) ao_handle;
|
||||||
MUTEX_LOCK(h->mutex);
|
MUTEX_LOCK(h->mutex);
|
||||||
double duration = h->at_second;
|
double duration = h->music_duration;
|
||||||
MUTEX_UNLOCK(h->mutex);
|
MUTEX_UNLOCK(h->mutex);
|
||||||
return duration;
|
return duration;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user