Python: Attempt to fix build

This commit is contained in:
Vicki Pfau 2024-04-22 03:04:34 -07:00
parent d422cbe65d
commit 2cbbaea483

View File

@ -4,7 +4,7 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this # License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
from ._pylib import ffi, lib # pylint: disable=no-name-in-module from ._pylib import ffi, lib # pylint: disable=no-name-in-module
from . import tile, audio from . import tile
from cached_property import cached_property from cached_property import cached_property
from functools import wraps from functools import wraps
@ -242,14 +242,6 @@ class Core(object):
def set_video_buffer(self, image): def set_video_buffer(self, image):
self._core.setVideoBuffer(self._core, image.buffer, image.stride) self._core.setVideoBuffer(self._core, image.buffer, image.stride)
@protected
def set_audio_buffer_size(self, size):
self._core.setAudioBufferSize(self._core, size)
@property
def audio_buffer_size(self):
return self._core.getAudioBufferSize(self._core)
@protected @protected
def reset(self): def reset(self):
self._core.reset(self._core) self._core.reset(self._core)