зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1853012 - Update libcubeb to revision f9c118d
. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D188348
This commit is contained in:
Родитель
5d0e417af5
Коммит
6b7e7a39c5
|
@ -9,8 +9,8 @@ origin:
|
|||
description: "Cross platform audio library"
|
||||
url: https://github.com/mozilla/cubeb
|
||||
license: ISC
|
||||
release: 3f86a06fcee0ee738db8d0747bf291df8d12ef07 (2023-08-25T18:09:58Z).
|
||||
revision: 3f86a06fcee0ee738db8d0747bf291df8d12ef07
|
||||
release: f9c118ddc050d15ffb3ac2babff06a833d0ac740 (2023-09-15T14:14:22Z).
|
||||
revision: f9c118ddc050d15ffb3ac2babff06a833d0ac740
|
||||
|
||||
vendoring:
|
||||
url: https://github.com/mozilla/cubeb
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#include "cubeb_resampler.h"
|
||||
#include "cubeb_triple_buffer.h"
|
||||
#include <aaudio/AAudio.h>
|
||||
#include <android/api-level.h>
|
||||
#include <atomic>
|
||||
#include <cassert>
|
||||
#include <chrono>
|
||||
|
@ -1705,9 +1704,6 @@ const static struct cubeb_ops aaudio_ops = {
|
|||
extern "C" /*static*/ int
|
||||
aaudio_init(cubeb ** context, char const * /* context_name */)
|
||||
{
|
||||
if (android_get_device_api_level() <= 30) {
|
||||
return CUBEB_ERROR;
|
||||
}
|
||||
// load api
|
||||
void * libaaudio = nullptr;
|
||||
#ifndef DISABLE_LIBAAUDIO_DLOPEN
|
||||
|
|
|
@ -1852,7 +1852,7 @@ opensl_stream_get_position(cubeb_stream * stm, uint64_t * position)
|
|||
stm->lastPosition = msec;
|
||||
}
|
||||
|
||||
uint32_t samplerate = stm->user_output_rate;
|
||||
uint64_t samplerate = stm->user_output_rate;
|
||||
uint32_t output_latency = stm->output_latency_ms;
|
||||
|
||||
pthread_mutex_lock(&stm->mutex);
|
||||
|
|
Загрузка…
Ссылка в новой задаче