FORUMS

[Release Candidate] Dolby Atmos™

7,934 posts
Thanks Meter: 24,716
 
By guitardedhero, Senior Member on 25th January 2018, 05:45 PM
Post Reply Email Thread
20th February 2020, 06:30 AM |#4461  
FluffyDiscord's Avatar
Senior Member
Thanks Meter: 30
 
More
Is 24bit mode working?
20th February 2020, 09:17 AM |#4462  
Member
Flag Ho Chi Minh city
Thanks Meter: 14
 
More
Quote:
Originally Posted by laugeek57

Awesome Dolby 0.965 works on old Lenovo Vibe K5

Wait a minute did you use emulator or is that just a screen mirroring app? I'm pretty dumb.
20th February 2020, 10:36 AM |#4463  
laugeek57's Avatar
Senior Member
Flag Metz
Thanks Meter: 366
 
More
Quote:
Originally Posted by JakunTech1010

Wait a minute did you use emulator or is that just a screen mirroring app? I'm pretty dumb.

I use an application on windows which allows to display the screen because the K5 vibe that I tested in the middle of the touch screen which no longer responds ...
SCRCPY exe
20th February 2020, 01:06 PM |#4464  
guitardedhero's Avatar
OP Senior Member
Flag Little Rock
Thanks Meter: 24,716
 
Donate to Me
More
Lots of script changes. Be patient with the compatibility check (give up after five minutes, though).
Attached Files
File Type: zip ACDB-0.29.zip - [Click for QR Code] (8.4 KB, 98 views)
File Type: zip DolbyAtmos-axon9-0.97-ACDB.zip - [Click for QR Code] (5.10 MB, 142 views)
File Type: zip ViperFX_2.5.0.5-0.8-ACDB.zip - [Click for QR Code] (4.01 MB, 186 views)
The Following 17 Users Say Thank You to guitardedhero For This Useful Post: [ View ] Gift guitardedhero Ad-Free
21st February 2020, 04:11 AM |#4465  
guitardedhero's Avatar
OP Senior Member
Flag Little Rock
Thanks Meter: 24,716
 
Donate to Me
More
More refinements...
Attached Files
File Type: zip ACDB-0.3.zip - [Click for QR Code] (9.0 KB, 144 views)
File Type: zip DolbyAtmos-axon9-0.974-ACDB.zip - [Click for QR Code] (5.10 MB, 190 views)
The Following 8 Users Say Thank You to guitardedhero For This Useful Post: [ View ] Gift guitardedhero Ad-Free
21st February 2020, 04:50 AM |#4466  
Senior Member
Flag Mesa, AZ
Thanks Meter: 655
 
More
Do I need acdb--.zip file if I don't use any other mods--just Atmos?
Incidentally, DolbyAtmos-axon9-0.974-ACDB.zip seems to be working very well, and installed with compatibility on my OP6T.
21st February 2020, 04:56 AM |#4467  
guitardedhero's Avatar
OP Senior Member
Flag Little Rock
Thanks Meter: 24,716
 
Donate to Me
More
Quote:
Originally Posted by pbergonzi

Do I need acdb--.zip file if I don't use any other mods--just Atmos?

You don't need it, but I recommend it.
The Following 2 Users Say Thank You to guitardedhero For This Useful Post: [ View ] Gift guitardedhero Ad-Free
21st February 2020, 05:08 AM |#4468  
Senior Member
Flag Mesa, AZ
Thanks Meter: 655
 
More
Quote:
Originally Posted by guitardedhero

You don't need it, but I recommend it.

Is there an install order, and what does ACDB do--in a nutshell?
21st February 2020, 06:26 AM |#4469  
Skittles9823's Avatar
Recognized Contributor
Flag Sydney
Thanks Meter: 1,882
 
Donate to Me
More
Quote:
Originally Posted by pbergonzi

Is there an install order, and what does ACDB do--in a nutshell?

If I remember correctly, it's ACDB last.

In a nutshell it's a similar idea to AML. Just a different implementation.

Sent from my Pixel 3a XL using XDA Labs
The Following User Says Thank You to Skittles9823 For This Useful Post: [ View ] Gift Skittles9823 Ad-Free
21st February 2020, 06:44 AM |#4470  
guitardedhero's Avatar
OP Senior Member
Flag Little Rock
Thanks Meter: 24,716
 
Donate to Me
More
Quote:
Originally Posted by pbergonzi

Is there an install order, and what does ACDB do--in a nutshell?

Order of installation does not matter as ACDB, at this time, prepares audio effects configurations during each device boot using what is available in Magisk modules at any given time.

It's finally operating how I had intended before the major ACDB update recently where I was running into issues accommodating multiple Magisk modules with the acdb.conf file.

Honestly, I do not know how it could be any easier for a dev or even a user wanting to add effect configuration to an existing module in less time than it took you to reach the end of this third paragraph.

The only matter of concern for dev/user interested in ACDB support is the acdb.conf file, which I suggest placing in the Magisk module's root folder next to module.prop and the /system folder.

This acdb.conf file contains four or more properties to which values need to be applied in order to have any configuration take place each device boot.

Many are already likely familiar with the relevant components in configuring an audio effect. For the rest of you, here's a quick synopsis:

Effect libraries in /lib/soundfx/ must be configured appropriately to have a chance at doing anything other than being absolutely dormant. Still, effect libraries fully configured have no effect whatsoever on the audio signal unless an effect-chain for the library is created by an apk, service, or other component. But, this can only happen if the library is properly configured in the first place.

Configuration takes place in various forms of two file types:

audio_effects.conf with its own Android-specific format and audio_effects.xml with its more standard xml.format.

The components used to configure an effect remain the same for both formats:

Library ID
Library Name
Effect ID
Effect UUID


The Library ID is entirely flexible and can be almost any single string, but it is encouraged to maintain the common Library ID unless a unique scenario calls for a change to be able to have more than one instance of a library.

The Library Name is, in fact, the filename of the library, so it is restricted to how the library appears in the filesystem. A change in filename will require the same change to Library Name when configuring, for example.

Before we move onto the two Effect components, let us use ViPER4Android's popular and familiar effect library to illustrate the two Library components.

ViPER4Android is an incredible DSP application with a phenomenal effect library:

libv4a_fx_ics.so

If you guessed this to be the Library Name value for the effect configuration, you are correct. The Library ID presented by the authors for libv4a_fx_ics.so is:

v4a_fx

As you can see, it does not appear to be anything other than an identifier as it does not match anything explicitly.

At this point, we have half of acdb.conf ready to complete already:

Quote:

libraryid=v4a_fx
libraryname=libv4a_fx_ics.so
effectid=
effectuuid=

The Effect ID is exactly like the Library ID in that it is not intended to match anything other than itself. More often than not, the Effect ID is actually the same value as the Library ID, although, this doesn't mean anything other than one less thing to try to remember.

The authors of ViPER4Android presented their Effect ID slightly different than the Library ID:

v4a_standard_fx

Let us go ahead and plug that value in our acdb.conf:

Quote:

libraryid=v4a_fx
libraryname=libv4a_fx_ics.so
effectid=v4a_standard_fx
effectuuid=

Remaining now is the most exciting part of the effect library: its Universal Unique Identifier.

This is a 32 digit hexadecimal strict pattern inside the library and is responsible for Android's capacity to create an effect-chain in which the effect library can fulfill its purpose when compiled.

When configuring, this 32 digit hexadecimal (0-9,a-f) value is divided into hyphen separated groups of 8-4-4-4-12 like: 01234567-89ab-cdef-0123-456789abcdef

This value can be changed if a unique scenario calls for multiple instances to coexist and must be done to the library directly. Otherwise, the Effect UUID is fixed and no other value will allow the library to execute.

The ViPER4Android author presented the Effect UUID as:

41d3c987-e6cf-11e3-a88a-11aba5d5c51b

This fourth value can now complete our acdb.conf file to instantly configure the ViPER4Android effect during the reboot following the saving of acdb.conf and placing it inside an existing ViPER4Android Magisk module:

Quote:

libraryid=v4a_fx
libraryname=libv4a_fx_ics.so
effectid=v4a_standard_fx
effectuuid=41d3c987-e6cf-11e3-a88a-11aba5d5c51b

That's it. Nothing more to it.
The Following 12 Users Say Thank You to guitardedhero For This Useful Post: [ View ] Gift guitardedhero Ad-Free
21st February 2020, 06:47 AM |#4471  
Senior Member
Flag Petaling Jaya, Selangor
Thanks Meter: 61
 
More
Quote:
Originally Posted by guitardedhero

Order of installation does not matter as ACDB, at this time, prepares audio effects configurations during each device boot using what is available in Magisk modules at any given time.

It's finally operating how I had intended before the major ACDB update recently where I was running into issues accommodating multiple Magisk modules with the acdb.conf file.

Honestly, I do not know how it could be any easier for a dev or even a user wanting to add effect configuration to an existing module in less time than it took you to reach the end of this third paragraph.

The only matter of concern for dev/user interested in ACDB support is the acdb.conf file, which I suggest placing in the Magisk module's root folder next to module.prop and the /system folder.

This acdb.conf file contains five properties to which values need to be applied in order to have any configuration take place each device boot.

Many are already likely familiar with the relevant components in configuring an audio effect. For the rest of you, here's a quick synopsis:

Effect libraries in /lib/soundfx/ must be configured appropriately to have a chance at doing anything other than being absolutely dormant. Still, effect libraries fully configured have no effect whatsoever on the audio signal unless an effect-chain for the library is created by an apk, service, or other component. But, this can only happen if the library is properly configured in the first place.

Configuration takes place in various forms of two file types:

audio_effects.conf with its own Android-specific format and audio_effects.xml with its more standard xml.format.

The components used to configure an effect remain the same for both formats:

Library ID
Library Name
Effect ID
Effect UUID

The Library ID is entirely flexible and can be almost any single string, but it is encouraged to maintain the common Library ID unless a unique scenario calls for a change to be able to have more than one instance of a library.

The Library Name is, in fact, the filename of the library, so it is restricted to how the library appears in the filesystem. A change in filename will require the same change to Library Name when configuring, for example.

Before we move onto the two Effect components, let us use ViPER4Android's popular and familiar effect library to illustrate the two Library components.

ViPER4Android is an incredible DSP application with a phenomenal effect library:

libv4a_fx_ics.so

If you guessed this to be the Library Name value for the effect configuration, you are correct. The Library ID presented by the authors for libv4a_fx_ics.so is:

v4a_fx

As you can see, it does not appear to be anything other than an identifier as it does not match anything explicitly.

At this point, we have half of ACDB.conf ready to complete already:



The Effect ID exactly like the Library ID in that it is not intended to match anything other than itself. More often than not, the Effect ID is actually the same value as the Library ID, although, this doesn't mean anything other than one less thing to try to remember.

The authors of ViPER4Android presented their Effect ID slightly different than the Library ID:

v4a_standard_fx

Let us go ahead and plug that value in our acdb.conf;



Remaining now is the most exciting part of the effect library: its Universal Unique Identifier.

This is a 32 digit hexadecimal strict pattern inside the library and is responsible for Android's capacity to create an effect-chain in which the effect library can fulfill its purpose when compiled.

When configuring, this 32 digit hexadecimal (0-9,a-f) value is divided into hyphen separated groups of 8-4-4-4-12 like: 01234567-89ab-cdef-0123-456789abcdef

This value can be changed if a unique scenario calls for multiple instances to coexist and must be done to the library directly. Otherwise, the Effect UUID is fixed and no other value will allow the library to execute.

The ViPER4Android author presented the Effect UUID as:

41d3c987-e6cf-11e3-a88a-11aba5d5c51b

This fourth value can now complete our acdb.conf file to instantly configure the ViPER4Android effect during the reboot following the saving of acdb.conf and placing it inside an existing ViPER4Android Magisk module:



That's it. Nothing more to it.


Lengthy and Complete Explanation which is easy to understand. Thanks dev!
The Following User Says Thank You to Chip Liang For This Useful Post: [ View ] Gift Chip Liang Ad-Free
Post Reply Subscribe to Thread

Tags
atmos, audio, dolby, mod, oreo

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes