Modification and improvement of sound quality | 4.0+



Rep: (282)
Modification and improvement of sound quality android | Modification and improvement of sound quality android

This topic is created to improve and enhance sound characteristics androyd devices
where everything is described in detail from simple actions build.prop,
ending with the introduction of third-party audio library into your smartphone.

I will update the topic in the course of time

For all actions, you will need to have root rights
Setting audio_policy
List samplingRates 8000,16000,32000,44100,48000,88200,96000,176400,192000,384000,768000
Listformatas ascending
AUDIO_FORMAT_PCM_16_BIT
AUDIO_FORMAT_PCM_24_BIT_PACKED (mainly used for a2dp profile)
AUDIO_FORMAT_PCM_8_24_BIT
AUDIO_FORMAT_PCM_32_BIT

fast flag
He sound output low-delay 40 ms
<mixPort name = "lowlatency out" role = "source" flags = "AUDIO_OUTPUT_FLAG_FAST">
<profile name = "" format = "AUDIO_FORMAT_PCM_16_BIT"
samplingRates = "48000"
channelMasks = "AUDIO_CHANNEL_OUT_STEREO" />
</ mixPort>

16 bit 48Khz and maksimklno and everything below. It is impossible to deduce hires

Unloading offload
List formats:
AUDIO_OUTPUT_FLAG_DIRECT (direct access)
AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD (compression of the audio output)
AUDIO_OUTPUT_FLAG_NON_BLOCKING (audio output is not blocked)

is used to display the bluetooth device or where appropriate headset, modern devices to compress the signal under mp3 SBC codec if headphones (device) do not support the codec ldac, aptx and hwa
if it is possible to deduce hires through codec, the output goes through 24_BIT_PACKED, simplified format 24bit

<mixPort name = "offload" role = "source" flags = "AUDIO_OUTPUT_FLAG_DIRECT | AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD | AUDIO_OUTPUT_FLAG_NON_BLOCKING">
<profile name = "" format = "AUDIO_FORMAT_MP3"
samplingRates = "8000,11025,12000,16000,22050,24000,32000,44100,48000"
channelMasks = "AUDIO_CHANNEL_OUT_STEREO" />
<profile name = "" format = "AUDIO_FORMAT_PCM_24_BIT_PACKED"
samplingRates = "48000"
channelMasks = "AUDIO_CHANNEL_OUT_STEREO" />
</ mixPort>


Direct output to the sound system to ignore all effects and post treatments, that is the conclusion HIRES
List formats:
AUDIO_OUTPUT_FLAG_DIRECT (direct access)
AUDIO_OUTPUT_FLAG_DIRECT_PCM (direct access to the PCM container)
What's the difference Do not know, you can use 1 of them

<mixPort name = "direct_pcm" role = "source" flags = "AUDIO_OUTPUT_FLAG_DIRECT | AUDIO_OUTPUT_FLAG_DIRECT_PCM | AUDIO_OUTPUT_FLAG_VOIP_RX">
<profile name = "" format = "AUDIO_FORMAT_PCM_16_BIT"
samplingRates = "8000,16000,32000,44100,48000,88200,96000,176400,192000,384000"
channelMasks = "AUDIO_CHANNEL_OUT_MONO, AUDIO_CHANNEL_OUT_STEREO" />
<profile name = "" format = "AUDIO_FORMAT_PCM_8_24_BIT"
samplingRates = "8000,16000,32000,44100,48000,88200,96000,176400,192000,384000"
channelMasks = "AUDIO_CHANNEL_OUT_MONO, AUDIO_CHANNEL_OUT_STEREO" />
<profile name = "" format = "AUDIO_FORMAT_PCM_32_BIT"
samplingRates = "8000,16000,32000,44100,48000,88200,96000,176400,192000,384000"
channelMasks = "AUDIO_CHANNEL_OUT_MONO, AUDIO_CHANNEL_OUT_STEREO" />
</ mixPort>

Audio output flags
AUDIO_OUTPUT_FLAG_PRIMARY (primary audio output, used as standard on most devices)
AUDIO_OUTPUT_FLAG_DEEP_BUFFER (Deep Buffer)

other flags
AUDIO_OUTPUT_FLAG_RAW
AUDIO_OUTPUT_FLAG_SLOW
AUDIO_OUTPUT_FLAG_DEEP_BUFFER


The list of audio compression formats from the highest to the lowest quality (this is not the entire list, but the most normal ones) (not all will be supported)
AUDIO_FORMAT_FLAC
AUDIO_FORMAT_ALAC
AUDIO_FORMAT_APE
AUDIO_FORMAT_VORBIS
AUDIO_FORMAT_WMA
AUDIO_FORMAT_WMA_PRO
AUDIO_FORMAT_MP3 (default)

Connecting 64 bit audio library instead of 32 bit
Make sure that lib64 has a folder and files in soundfx.
Log in /system/etc/audio_effects.conf
And change lib to lib64
/system/etc/audio_effects.conf
bundle {
path /system/lib64/soundfx/libbundlewrapper.so
}
reverb {
path /system/lib64/soundfx/libreverbwrapper.so
}
visualizer {
path /system/lib64/soundfx/libvisualizer.so
}
downmix {
path /system/lib64/soundfx/libdownmix.so
}
loudness_enhancer {
path /system/lib64/soundfx/libldnhncr.so
}

Third-party (ported) sound libraries
All audio libraries are usually stored in / system / lib (lib64) / soundfx
A list of standard effects with a description:
/libaudiopreprocessing.so
Audio pre-processing - processing of unprocessed sound before applying effects, cleaning bad areas and overloads in a track after alignment and normalizing sound to a specified level.
/libbundlewrapper.so
Low Frequency Amplifier and Normalizer
/libdownmix.so
Convert multichannel sound to dual channel
/libldnhncr.so
Enriching the stereo image of the incoming sound
/libreverbwrapper.so
Reverberation
/libvisualizer.so
Responsible for displaying visualization
Setting and connecting audio libraries
Connecting libraries using the example of a standard bass amplifier, the library is in libraries {up to closing brackets}
1. The line is responsible for the name and opens with a bracket.
2. String library location
3. Closing the function
With the library, there are unique uuid effects (sometimes they are not), added to effects {}
1. String effect name
2. The string name of the library that was written above.
3. String with uuid
4. Closing effect

libraries {

bundle {
path /system/lib64/soundfx/libbundlewrapper.so
}
}
effects {

bassboost {
library bundle
uuid 8631f300-72e2-11df-b57e-0002a5d5c51b
}
}





Samsung Galaxy S8 audio engine port
Beats Libraries
Sound effects port
Codecs from SONY, Samsung and other devices


Sound modifications
Making sound at the flagship level
A program that dumps an audioflinger and pulls basic information out of it.
Sound tuning and equalization in SRS Processing
Increase the volume of headphones and speaker through mixer_paths.xml
Adjust sound quality in mixer_paths.xml
Sound enhancement in build.prop

ALSA driver, its installation and configuration
In some devices this library is already installed, you can check in / system / bin alsa_ctl files should be alsa_aplay alsa_amixer (/system/lib/libasound.so sometimes only a library without binaries)
Installation
To run use the codeenter in the terminal
#! / system / bin / sh
mount -o rw, remount / system
mkdir / system / etc / alsa
chmod 0755 / system / etc / alsa
f = / system / etc / alsa / $ (cat /proc/asound/card0/id).state
alsa_ctl -f $ f store
chmod 0644 / system / etc / alsa / *
alsa_ctl -f $ f restore
mount -o ro, remount / system

Expand all files in folders from the archive, and give permission
Edit file permissions
/ bin / alsa_amixer 0755
/ bin / alsa_aplay 0755
/ bin / alsa_ctl 0755
/lib/libasound.so 0644
/ usr / share / alsa // all folders 0755, all files in the alsa 0644 folder

Driver for 32/64 bit processors:Attached filealsa_32bit.zip(405.16 KB)
(Restriction androyd from 4 to 6 above will not work)

Supplement put in / system / lib / hw with rights 0644 (can both positively and negatively affect the sound):Attached filealsa.default.so.zip(12.96 KB)


Ready script to run alsa:Attached filealsa.sh.zip(272 bytes)


# Non-standard
It has a high-quality audio processing algorithm.
Install with replacement, if this library is available in /system/lib/libasound.so, if it is not useless (perhaps there is an effect, but not sure) there should be no alsa binaries in / system / bin, otherwise the sound will disappear from the backup library,make a copy of the original for safety :)
Samsung GS8 + asound library:Attached filealsa_asound_sgs8 + .zip(262.15 KB)

Check ALSA works or not
Enter the code in the terminal
mount -o rw, remount / system
mkdir / system / etc / alsa
chmod 0755 / system / etc / alsa
f = / system / etc / alsa / $ (cat /proc/asound/card0/id).state
alsa_ctl -f $ f store
chmod 0644 / system / etc / alsa / *

The /system/etc/alsa/map_map.state file appears in the folder.
Then enter this command
alsa_ctl -f $ f restore
The sound will disappear for a while after it is turned on again, then the library is connected (if the sound does not appear, connect and disconnect the headphones)

Instructions for setting up ALSA




Adapted libraries to optimize sound for 32/64 bit processors
Libraries took from 6 androids, but should work on the versions below, since they are universal
IMPORTANT make backup system partition can not guarantee 100% of the libraries (the phone may hang on the eternal animation) , you can go through one by one and watch how the smartphone behaves
Installation: transfer all libraries with replacement to / system / lib and give rights0644
You can simplify the process of editing rights
su# get root
mount -o rw, remount / system# translation of the system partition in the record
chmod 0644 /system/lib/*.so# change of rights

Library list:
/libaudioflinger.so
/libaudioresampler.so
/libaudiospdif.so
/libaudioutils.so
/libeffects.so
/libinput.so
/libinputflinger.so
/libsonic.so
/libsonivox.so
/libsoundtrigger.so
/libspeexresampler.so
/libwebrtc_audio_coding.so
/libwebrtc_audio_preprocessing.so


In general, increases the overall volume, clarity, bass.
Attached fileaudio_engine.zip(1.24 MB)





Useful information
All methods of the audio output

Recommendations:
1. Use only the flagships of sound libraries. Since only data devices,
manufacturers make the maximum emphasis on the components of the device. Just soundfx folder
2. Many simply delete the folder soundfx from the device, and so, to make a clean exit of sound,
I am against this method because always resulted in a tin and live sound.

Restart the interface, so as not to wait for a long reboot, the changes also take effect
su
am restart

useful links


Post has been editedshimmer - 07.03.20, 20:12
Reason for editing: Updating a topic



Rep: (282)
Detailed instructions for setting up ALSA

Get better sound at the output.

Main configuration file /system/usr/share/alsa/alsa.conf
Change sound card if there are 2
The presence and number of sound cards can be checked with the command in the terminal
cat / proc / asound / modules
If, for example, a standard card is issued, one is adapted for music, it should support 32 or 24 bit processing and 192,000 discrimination, although it happens that the standard one does not behave badly on such processing.
0 mtkcard
1 hdcard
# default 0, write 0 or 1 depending on the availability of cards
defaults.ctl.card 0
defaults.pcm.card 0
defaults.pcm.device 0


Find and change data strings
strongly influences sound
defaults.pcm.dmix.rate 48000# let's raise to 96000/192000 as far as the system allows
defaults.pcm.dmix.format "U16_LE"# processing format I recommend using U32_LE or U24_3LE U18_3LE
Full list of formats
S8 U8 S16_LE S16_BE U16_LE U16_BE S24_LE S24_BE U24_LE U24_BE S32_LE S32_BE U32_LE U32_BE FLOAT_LE FLOAT_BE FLOAT64_LE FLOAT64_BE IEC958_SUBFRAME_LE IEC958_SUBFRAME_BE MU_LAW A_LAW IMA_ADPCM MPEG GSM SPECIAL S24_3LE S24_3BE U24_3LE U24_3BE S20_3LE S20_3BE U20_3LE U20_3BE S18_3LE S18_3BE U18_3LE

strongly influences sound
defaults.pcm.file_format "raw"# I recommend using "wav" there are still au and voc
Details about formats
File Format Au - is a simple audio file format, presented by Sun Microsystems. The format was circulated at NeXT systems and on early web pages. Initially, he was without a title, it is a simple 8-bit data encoded on M-law to the law, with a sampling rate of 8000 Hz. Hardware manufacturers often use other sampling frequencies up to 8192 Hz, is often integral coefficients of video signals. Newer files have a header, consisting of six unsigned 32-bit words, the optional information block, and then the data (in the large end of the format).
RAW Audio or just RAW Audio is an audio file format for storing uncompressed audio in its raw form. Comparable to WAV or AIFF in size, the RAW Audio file does not contain header information (sampling rate, bit-depth, end, or number of channels).
Format audio format Waveform (WAVE or better known as WAV due to the expansion of his name), [3] [6] [7] [8] (rarely, Audio for the Windows) [9] - is a Microsoft and IBM audio file format standard for storing an audio stream on the PC. This bitstream format file sharing application format (RIFF) for storing data in "chunks" and therefore also close to the format and 8SVX AIFF, and used for the Amiga Macintoshkompyuterov respectively. It is the main format used on Windows systems for raw and typically uncompressed audio. A common bit coding format is a linear pulse code modulation (LPCM).
VOC file format is a compressed file format that reduces the size of an audio file.


DMIX settings /system/usr/share/alsa/pcm/dmix.conf
On the ALSA off site, detailed information is not found about this file. A rather complicated file to set up, by default, good values ​​are enough.
I don’t know the limit values, but they are above 2000 and -2000
Increases volume, changedefault
period_size {
@func refer
name {
@func concat
strings [
"defaults.dmix."
{
@func card_driver
card $ CARD
}
".period_size"
]
}
default 1024
}



Values ​​are higher, high and medium rises, if the minus bass is greater, changedefault
periods {
@func refer
name {
@func concat
strings [
"defaults.dmix."
{
@func card_driver
card $ CARD
}
".periods"
]
}
default -1
}
}


The function significantly transforms the sound, by default 16, if you lower it to 0 and below, the sound will be bass, on the contrary, high and medium voices will be expressed, clearer
changedefault
periods {
@func refer
name {
@func concat
strings [
"defaults.dmix."
{
@func card_driver
card $ CARD
}
".periods"
]
}
default 16
}
}



Post has been editedRoman_city - 28.09.17, 16:54



Rep: (2)
Roman_city
Where is the file alsa.sh?
Put in system / su.d does not work. I understand that in
system / etc should appear
alsa folder.



Rep: (11)
Nobody caught the bootloop after replacing the handler?



Rep: (2)
After installing the alsa.sh file, the phone loads for a very long time. After several reboots, the sound disappears altogether. If you delete the alsa.sh file everything comes back to normal



Rep: (282)
* winston6,
enter all the code in the terminal and the answer from the terminal here



Rep: (11)
Can I help with the development of this topic?
I have on hand htc one with an improvement from beats audio ..



Rep: (282)
* max057579
if you have any ideas of course



Rep: (282)
Beats Libraries
Originalbut here is an extended version
These operations on the device are safe, that is, they will not lead to crashes and perpetual device loads!
Powered by arm / arm64 / x86
Do not push everything at once, they are very strongly influenced by the sound even at the slightest change, you can spoil it and increase the sound

Installation: all files 0644 permissions, folders 0755, exception / bin / all files, permissions 0755
Inside there is a file for adding effects to audio_effects.conf
Additionally, the folder beats_expansion contains everything else in it (no need to push in the system)
Inside the archive is the folder beats_expansion, it contains all other sound configurations
Files with the extension /etc/*.bin throw in / system / etc with the rights 0644, I recommend using 1 from each subsection bas, dyn, img, peq (maybe one is enough)



The list of main lines to which all other settings and either / system / lib are connected:
/system/lib/soundfx/libbeatsbass.so
/system/lib/soundfx/libsrsfx.so
/system/lib/soundfx/libsrstb.so

Library functions in / system / lib

Description of effects:
/etc/*.bin output sound configuration
The / etc / soundimage folder contains the basic settings for the SRS, equals the sound, bass busts, voice and high amplifiers, etc., copy to / system / etc / soundimage with 0644 rights
Understand the name
In the / etc / audio folder, files that copy, limit and equalize the frequency response of the output signal.

/ system / bin / sound limiter
/system/lib/soundfx/libbeatsbass.sobass booster
/system/lib/soundfx/libsrsfx.soeffects of stereo image extension, reverb, distortion, etc.
/system/lib/soundfx/libsrstb.soSomething like a compressor
/system/lib/soundfx/libsrscore.so helps libsrsfx.so, compresses sound
/system/lib/soundfx/libbeatscorehtc.so helps libbeatsbass.so
/system/lib/soundfx/libharmancorehtc.so excites the high frequency spectrum, the voices are cleaner

Attached files

Attached filelibraries_beats_audio.zip(1.89 MB)


Post has been editedRoman_city - 14.10.17, 14:41
Reason for editing:



Rep: (265)
I set the sampling rate to 384000, the sound did not disappear, smart redmi 3s, percent snap 430.

Post has been editedne navizu lg - 12.10.17, 07:33
Reason for editing: Corrected



Rep: (282)
Sound tuning and equalization in SRS Processing

It is put mainly on budget models, maybe I am mistaken (as an example I took from the Leagoo M8)
Maybe someone will earn it without the presence of this library
Availability is checked by finding the files: in /system/lib/libsrsprocessing.so ../system/data/srs_processing.cfg (sometimes it is in etc)

The version of the program itself, whether the program is turned on or not, and the level of output gain
// BLOCK: srs_cfg
// Config - Non-IP Configuration
: srs_skip = 1 # Skips any SRS processing. 0 - no, 1 - yes
: trumedia_enable = 0 # enabled or not
: trumedia_preset = 0 # which preset uses, 0 - music, 1 - movie, 2 - podcast
: trumedia_igain_int = 1.000
: trumedia_igain_ext = 1.000
: vol_int_enable = 0 # volume control
: trumedia_skip = 0

Limiter and enable, disable presets (which you can customize)
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
// BLOCK: srs_cfg
// Config - EQ Preset Configuration
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
srs_cfg:
: geq_int_enable = 0 includes int 0 - no, 1 - yes
: geq_int_limit_enable = 0 # limiter int
: geq_int_preset = 0 # preset number used
: geq_ext_enable = 0 # includes ext 0 - no, 1 - yes
: geq_ext_limit_enable = 0 # ext limiter
: geq_ext_preset = 0 # preset number used


Turning on and off, and how exactly the effects on the headphone, speaker and bluetooth headset effects will sound
// BLOCK: srs_route_out
// Routing - Output Device Routing
srs_route_out:
// INFO: routing_info = 0 = int (use int presets), 1 = ext (use ext presets), -1 = disable srs processing, -2 = int dsp, -3 = ext dsp
: force_route = -1
: earpiece = 1
: speaker = 0 # speaker
: wired_headset = 1 # headphones
: wired_headphone = 1 # headset
: bt_sco = -1
: bt_sco_headset = 1 # bluetooth headset
: bt_sco_carkit = -1
: bt_a2dp = 1 # bluetooth headset
: bt_a2dp_headphones = 1 # Bluetooth Headset
: bt_a2dp_speaker = -1
: aux_digital = -1
: dock_analog_headset = 1 # connected through the docking station
: dock_digital_headset = 1 # connected through the docking station
: usb_accessory = 1
: usb_device = 1


WOWHD - Music SRS Basic Settings for int, enabling and disabling effects(likewise for ext)
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
// BLOCK: srs_mus_int
// WOWHD - Music-Internal
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Tru Bass - string emulates a vertical bass sound

srs_mus_int:
: wowhd_igain = 0.600 # audio input gain
: wowhd_ogain = 1.000 # audio output gain
: wowhd_trubass_enable = 0 # enable disable 0-1
: wowhd_trubass_min = 0.000 # minimum frequency of exposure in hertz
: wowhd_trubass_window = 1.000 # size
: wowhd_trubass_slide = 0.000 # how smooth it will be
: wowhd_trubass_slide_udef = 0.000 # practically does the same thing as slide
: wowhd_trubass_compressor = 0.000 # compressor cuts off excess frequencies that rise above 0 dB
// ALIAS: wowhd_trubass_size // TruBass Speaker Size
: wowhd_trubass_freq = 500 # main frequency affected by - frequency
: wowhd_trubass_analysis = 300 # analysis size - frequency
: wowhd_trubass_sa_enable = 1 # enable disable split analysis
: wowhd_trubass_mode = 0 # Tru bass mod (0 - mono, 1 - stereo)
: wowhd_xover_enable = 1 # filter cutoff frequency for the speaker
: wowhd_xover_order = 4 # degree of impact (maximum - 6)
: wowhd_xover_freq = 750 # frequency (I recommend 250)
: wowhd_hpf_enable = 1 #Hi pass Filter - cuts the frequencies below the set filter
: wowhd_hpf_order = 4 # degree of impact (maximum - 6)
: wowhd_hpf_freq = 250 # frequency
: wowhd_srs_enable = 0 # SRS3D - creates a 3D feel
: wowhd_srs_space = 0.700 # impact on the right and left channel
: wowhd_srs_center = 0.500 # center impact
: wowhd_srs_mode = 1 # (0-mono, 1-one speaker, 2-stereo, 3-extreme
: wowhd_srs_speaker = 0 # sound type (0 - speaker, 1 - headphones)
: wowhd_focus_enable = 0 # enable disable focus
: wowhd_focus = 0.170 # The degree of exposure to focus
: wowhd_definition_enable = 0 # audio clarity 0-1
: wowhd_definition_min = 0.000 # minimum exposure
: wowhd_definition_window = 0.500 # size
: wowhd_definition_slide = 0.000 #
: wowhd_definition_slide_udef = 0.100 #
: wowhd_widesur_enable = 0 # disables stereo image extension
: wowhd_widesur_igain = 1.000 # gain
: wowhd_widesur_centerboost = 0.500 # center gain
: wowhd_widesur_separation = 0.500 # degree of sound mixing
: wowhd_skip = 0 # skip effects or not 0 no, 1 yes


HLimit - Music Gain
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
// BLOCK: srs_mus_boost_int
// HLimit - Music-Internal Boosted
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
srs_mus_boost_int:
: hlimit_igain = 1.000 # input gain
: hlimit_ogain = 1.000 # output gain
: hlimit_bgain = 1.000 # gain by pass
: hlimit_delaylen = 22 # simulates a delay (creates an echo)
: hlimit_decaysmooth = 1 # includes the use of anti-aliasing
: hlimit_boost = 7.000 # gain level
: hlimit_limit = 1.000 # limiter
: hlimit_skip = 0


HIPass - Internal Speaker HPF | Setting the high pass filter
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
// BLOCK: srs_hpf_int
// HiPass - Internal Speaker HPF
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
srs_hpf_int:
: hipass_order = 4 # exposure level maximum 6
: hipass_frequency = 500 # frequency
: hipass_is32bit = 1 # Filter Accuracy (when 0 - 16bit)
: hipass_skip = 0 # skip 0 - no, 1 - yes


GEQ - GEQ Preset 0-Internal | 10 band equalizer (same for ext)
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
// BLOCK: srs_geq_0_int
// GEQ - GEQ Preset 0-Internal
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
srs_geq_0_int:
: geq_presetname = # preset number
: geq_defgains = 0,0,0,0,0,0,0,0,0,0 # default values
: geq_usergains = 0,0,0,0,0,0,0,0,0,0 # custom values

It looks something like this, possibly accurate: 31 Hz, 62 Hz, 125 Hz, 250 Hz, 500 Hz, 1 kHz, 2 kHz, 4 kHz, 8 kHz, 16 kHz
Values ​​from -10 to 10 or less as not tested


Attached files

Attached fileSRS_Processing.zip(276.33 KB)


Post has been editedRoman_city - 16.10.17, 16:00
Reason for editing:



Rep: (3)
* Roman_city , I drive the code for alsa and that's it. The folder is created. And everything in it is empty. Where to dig?
Attached Image


Post has been editedsergey248734 - 15.10.17, 00:05



Rep: (282)
* sergey248734
Do not you have a 7 android?



Rep: (3)
* Roman_city 8 bucket

Post has been editedsergey248734 - 15.10.17, 01:12



Rep: (282)
* sergey248734
On 8 will not work, the maximum in my 7



Rep: (3)
* Roman_city how to read the log correctly? Help pliz.
Attached Image



Rep: (282)
* sergey248734
I do not really understand this myself, but the problem is in the assembly code, it is necessary to increase it to 26 (to recompile the alsa)



Rep: (3)
* Roman_city Can you do it?



Rep: (282)
* sergey248734
not



Rep: (156)
I tried to put alsa.
Files scattered manually, the startup script put in init.d.

The alsa_ctl -f $ f store command pops up such a varning.
u0_a103 @: / $ su
root @: / # alsa_ctl -f $ f store
WARNING: linker: /system/lib/libasound.so has text relocations. This is wasting memory hardening. Please fix.
alsactl: Specify command ...
root @: / #

The command alsa_ctl -f $ f restore sound, as promised, stalled, the device rebooted, there is sound after booting.

This is normal?

upd.
I forgot to say. Firmware Resurection Remix 5.7.4 (Android 6.0.1), SeLinux - only a warning.

Post has been editedDementy000 - 17.10.17, 07:02



Rep: (282)
* Dementy000,
fine


Full version    

Help     rules

Time is now: 12/06/20, 20:24