Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 521e1b57 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 10998418 from 72d65c14 to 24Q1-release

Change-Id: If006254349115845aa4efcbacdb3d50edf2c8172
parents 477e339c 72d65c14
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -411,7 +411,7 @@ void Component::initListener(const std::shared_ptr<Component>& self) {

        mDeathRecipient = ::ndk::ScopedAIBinder_DeathRecipient(
                AIBinder_DeathRecipient_new(OnBinderDied));
        mDeathContext = new DeathContext{weak_from_this()};
        mDeathContext = new DeathContext{ref<Component>()};
        AIBinder_DeathRecipient_setOnUnlinked(mDeathRecipient.get(), OnBinderUnlinked);
        AIBinder_linkToDeath(mListener->asBinder().get(), mDeathRecipient.get(), mDeathContext);
    } else {
+1 −1
Original line number Diff line number Diff line
@@ -216,7 +216,7 @@ ScopedAStatus ComponentStore::createComponent(
#endif
        onInterfaceLoaded(c2component->intf());
        std::shared_ptr<Component> comp =
            SharedRefBase::make<Component>(c2component, listener, shared_from_this(), pool);
            SharedRefBase::make<Component>(c2component, listener, ref<ComponentStore>(), pool);
        *component = comp;
        if (!component) {
            status = C2_CORRUPTED;
+1 −2
Original line number Diff line number Diff line
@@ -46,8 +46,7 @@ namespace utils {

struct ComponentStore;

struct Component : public BnComponent,
                   public std::enable_shared_from_this<Component> {
struct Component : public BnComponent {
    Component(
            const std::shared_ptr<C2Component>&,
            const std::shared_ptr<IComponentListener>& listener,
+1 −2
Original line number Diff line number Diff line
@@ -50,8 +50,7 @@ struct Component;

using ::aidl::android::hardware::media::bufferpool2::IClientManager;

struct ComponentStore : public BnComponentStore,
                        public std::enable_shared_from_this<ComponentStore> {
struct ComponentStore : public BnComponentStore {
    ComponentStore(const std::shared_ptr<C2ComponentStore>& store);
    virtual ~ComponentStore();

+2 −0
Original line number Diff line number Diff line
@@ -185,6 +185,8 @@ DownmixerBufferProvider::DownmixerBufferProvider(
     mDownmixConfig.inputCfg.mask = EFFECT_CONFIG_SMP_RATE | EFFECT_CONFIG_CHANNELS |
             EFFECT_CONFIG_FORMAT | EFFECT_CONFIG_ACC_MODE;
     mDownmixConfig.outputCfg.mask = mDownmixConfig.inputCfg.mask;
     mDownmixConfig.inputCfg.buffer.frameCount = bufferFrameCount;
     mDownmixConfig.outputCfg.buffer.frameCount = bufferFrameCount;

     mInFrameSize =
             audio_bytes_per_sample(format) * audio_channel_count_from_out_mask(inputChannelMask);
Loading