зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1854878 - Update libcubeb to revision f1bfefbbd. r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D189196
This commit is contained in:
Родитель
65e2bc317c
Коммит
075479fe25
|
@ -9,8 +9,8 @@ origin:
|
|||
description: "Cross platform audio library"
|
||||
url: https://github.com/mozilla/cubeb
|
||||
license: ISC
|
||||
release: f9c118ddc050d15ffb3ac2babff06a833d0ac740 (2023-09-15T14:14:22Z).
|
||||
revision: f9c118ddc050d15ffb3ac2babff06a833d0ac740
|
||||
release: f1bfefbbd412eaa0fe89f5afb3c11b427dc2446a (2023-09-26T02:23:21Z).
|
||||
revision: f1bfefbbd412eaa0fe89f5afb3c11b427dc2446a
|
||||
|
||||
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
|
||||
|
|
|
@ -985,9 +985,7 @@ initialize_with_format(cubeb_stream * stm, cubeb_stream_params * params,
|
|||
format_sample_rate = &pcm_format.samplesPerSec;
|
||||
}
|
||||
|
||||
func(format, format_sample_rate, using_floats);
|
||||
|
||||
return CUBEB_OK;
|
||||
return func(format, format_sample_rate, using_floats);
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
Загрузка…
Ссылка в новой задаче