Bug 1846158 - Update libcubeb to revision b9af56cee7. r=cubeb-reviewers,kinetik

Differential Revision: https://phabricator.services.mozilla.com/D184920
This commit is contained in:
Paul Adenot 2023-08-01 07:07:08 +00:00
Родитель 7637c0efce
Коммит 92ee586b0d
2 изменённых файлов: 3 добавлений и 8 удалений

Просмотреть файл

@ -9,8 +9,8 @@ origin:
description: "Cross platform audio library"
url: https://github.com/mozilla/cubeb
license: ISC
release: 41344b3abb2822bc0ecf6c9bf482ed68a9435493 (2023-07-26T12:02:22Z).
revision: 41344b3abb2822bc0ecf6c9bf482ed68a9435493
release: b9af56cee792f17a466db7b3ac3382262782c6f1 (2023-07-31T09:50:04Z).
revision: b9af56cee792f17a466db7b3ac3382262782c6f1
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>
@ -1229,13 +1228,12 @@ aaudio_stream_init(cubeb * ctx, cubeb_stream ** stream,
break;
}
stm->in_use.store(true);
if (!stm) {
LOG("Error: maximum number of streams reached");
return CUBEB_ERROR;
}
stm->in_use.store(true);
stm->context = ctx;
stm->user_ptr = user_ptr;
stm->data_callback = data_callback;
@ -1706,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