Skip to content
This repository was archived by the owner on Jan 17, 2019. It is now read-only.

Commit e97bda2

Browse files
authored
Merge pull request #74 from singalsu/add_eqctl_proposal
EQ: Add equalizer control tool eqctl
2 parents e66596e + 1a1e126 commit e97bda2

12 files changed

Lines changed: 261 additions & 1 deletion

Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SUBDIRS = logger rmbox topology
1+
SUBDIRS = logger rmbox topology eqctl
22
TESTDIR = topology/test
33

44
tests:

configure.ac

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ AC_PREREQ([2.69])
33
AC_INIT([sof-tools], [1.0.1])
44
AM_INIT_AUTOMAKE([foreign])
55
AC_CONFIG_SRCDIR([rmbox/rmbox.c])
6+
AC_CONFIG_SRCDIR([eqctl/eqctl.c])
67
AC_CONFIG_HEADERS([config.h])
78
AC_CHECK_HEADER([sof/uapi/abi.h])
89
AC_CHECK_PROG([XARGS], xargs, "yes", "no", [$PATH])
@@ -19,6 +20,7 @@ AC_OUTPUT([
1920
Makefile
2021
logger/Makefile
2122
rmbox/Makefile
23+
eqctl/Makefile
2224
topology/Makefile
2325
topology/common/Makefile
2426
topology/platform/Makefile

eqctl/Makefile.am

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
LDADD = -lasound
2+
3+
bin_PROGRAMS = sof-eqctl
4+
5+
sof_eqctl_SOURCES = \
6+
eqctl.c

eqctl/README

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
How to use sof-eqctl tool
2+
=========================
3+
4+
This tool helps to access the ext bytes or tlv bytes control of SOF
5+
equalizer components eq_iir and eq_fir. Please find the documentation
6+
in https://thesofproject.github.io/latest/getting_started/index.html
7+
for more information.

eqctl/eq_fir_flat.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
24,65538,0,4294901764,16384,0,

eqctl/eq_fir_loudness.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
248,131076,65537,65537,4294901764,16384,0,108,3558500271,114559883,47710217,28574198,28836345,29032901,28180917,26280352,24510851,23200107,21954905,20578629,19136814,17891610,16843017,16122107,15335663,14549220,13762777,12976332,12124351,11337907,10551463,9896092,9175185,8585352,7995518,7405685,6815852,6291556,5767260,5308500,4849741,4456519,4063297,3735612,3473463,3145778,2883630,2687018,2424871,2228260,2031648,1835037,1638427,1507352,1376278,1179667,1048593,983056,851982,786444,720907,393225,

eqctl/eq_fir_mid.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
192,65538,0,65624,1213426791,4254606209,3887459083,4018203428,4105564850,4147181068,4183947337,4217764461,4245486661,4267048379,4283170521,4294836140,7602239,12320925,14745811,15466729,14942442,13697244,11993285,10092713,8257676,6488176,4915287,3604544,2490414,1572895,917523,458762,65540,4294901759,4294770685,4294705147,4294639611,4294705146,4294705147,4294770683,4294836220,4294836221,4294901758,4294901758,4294967295,4294967295,65535,0,

eqctl/eq_iir_bandpass.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
84,2,1,0,0,2,2,3316150158,2048164275,513807534,3267352229,513807534,0,16384,3867454526,1191025347,38870735,77741469,38870735,4294967294,16458,

eqctl/eq_iir_bassboost.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
84,2,1,0,0,2,2,3227172081,2141520527,536653443,3221660410,536653443,0,16384,3260252783,2107733822,161646111,3961037800,172645501,4294967294,27910,

eqctl/eq_iir_flat.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
56,2,1,0,0,1,1,0,0,0,0,538145694,0,32690,

0 commit comments

Comments
 (0)