Commit Graph

165 Commits

Author SHA1 Message Date
Haxk20 daaaadc56d
anc: Fix enable/disable from slave bud
Switching ANC on or off from master bud has always worked
since we could just straight up enable it and no command had to be
sent.

When switching from slave bud we had to send the command to enable
or disable it via app_anc_key. Issue is the handling of this request
is from app_anc_cmd_receive_process which is not called without
APP_ANC being defined.

This commit cleans up the way ANC is enabled and also fixes slave
bud ANC switching by implementing the actual code path :)
2023-11-17 11:43:57 -06:00
Ben V. Brown 15fe2d36ea
Turn off resample for now (to avoid 56k profile) 2023-11-17 11:42:01 -06:00
Ben V. Brown ab6679d5cb
Port fb tuning values 2023-11-17 11:42:01 -06:00
Ben V. Brown 514f942f9f
Update decoder 2023-11-17 11:42:01 -06:00
Ben V. Brown 1ac4814fdf
Port some rough anc numbers from firmware dump 2023-11-17 11:42:01 -06:00
Ben V. Brown f12e474b2f
Scratching debug tool for anc poking 2023-11-17 11:42:01 -06:00
Ben V. Brown ced171a5c5
Note WNR is off 2023-11-17 11:42:01 -06:00
Ben V. Brown 2e4460b504
Try higher gain for anc 2023-11-17 11:42:00 -06:00
Ben V. Brown 5ee687b4eb
Update target.mk 2023-11-17 11:42:00 -06:00
Ben V. Brown b54f408983
Update target.mk 2023-11-17 11:42:00 -06:00
Ben V. Brown 66ab43c6a6
Update analog_best2300p.c 2023-11-17 11:42:00 -06:00
Ben V. Brown 162614ee8a
Add logging to anc init 2023-11-17 11:42:00 -06:00
Ben V. Brown 981883459a
Cant do inline comments on makefile target config 2023-11-17 11:42:00 -06:00
Ben V. Brown 258bc5efe4
Make warning on no anc VMIC 2023-11-17 11:42:00 -06:00
Ben V. Brown 11b9eb7fc5
Edit config for mics 2023-11-17 11:41:59 -06:00
Ben V. Brown 6f1c846969
Annotate config options 2023-11-17 11:41:56 -06:00
Ben V. Brown 7facfe997c
Merge pull request #65 from pine64/dependabot/github_actions/actions/checkout-4
chore(ci): bump actions/checkout from 3 to 4
2023-09-11 12:18:49 +10:00
dependabot[bot] 0d9a87fc90
chore(ci): bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 01:24:38 +00:00
Ben V. Brown 936fc4c98f
Merge pull request #61 from MultiBuds/limit-container-workflow-to-main
Limit container workflow runs to `main` branch *only*
2023-07-05 12:41:34 +10:00
Dom Rodriguez f7087764d0
Limit container workflow runs to `main` branch *only* 2023-07-02 20:03:19 +01:00
Ben V. Brown 1aba951de6
Merge pull request #56 from MultiBuds/fix-container-build-on-forks
Fix container builds on forks
2023-06-27 09:12:24 +10:00
Ben V. Brown 26ed719d5d
Merge pull request #59 from MultiBuds/clarify-readme-osi
Clarify README regarding open-source license
2023-06-27 09:11:08 +10:00
Dom Rodriguez c82babe9c7
Fix container builds on forks
This PR changes the 'build-and-push-to-registry' workflow to only run on
the Pine64 repository, which prevents image pushing errors occurring.

By doing this, we ensure the container images only come from the Pine64
OpenPineBuds repository.
2023-06-26 17:08:33 +01:00
Dom Rodriguez 244265c72b
Clarify README regarding open-source license
This is related to #18.
2023-06-26 16:37:14 +01:00
Ben V. Brown 73a0cebe0e
Merge pull request #58 from MultiBuds/use-docker-image-compose
compose: Use repository's container image for dev env
2023-06-25 18:48:46 +10:00
Dom Rodriguez eb63bce0f4
compose: Use repository's container image for dev env
This changes the `docker-compose.yml` file to use the Pine64
OpenPineBuds repository's container image for the development
environment, but the user has the option to build from scratch.
2023-06-20 17:51:25 +01:00
Ben V. Brown 70966479f6
Merge pull request #57 from nik012003/main
Updated to docker compose
2023-06-17 12:06:49 +10:00
Nicola Guerrera dd511a4303 Updated to docker compose 2023-06-16 21:49:24 +02:00
Ben V. Brown 53f77ed9d1
Merge pull request #48 from FintasticMan/no_blue_light_when_connected
Don't flash blue LED when connected to bluetooth
2023-05-20 15:06:49 +10:00
Ben V. Brown 172eb15036
Merge pull request #53 from MultiBuds/mkfile-use-shell-builtins
fix(makefile): Use shell-builtins in Makefile
2023-05-19 10:12:20 +10:00
Ben V. Brown 7b19212153
Merge pull request #54 from MultiBuds/use-usr-bin-env-for-scripts
refactor(scripts): Use `#!/usr/bin/env` as part of shebang
2023-05-19 10:11:49 +10:00
Dom Rodriguez 0de5c65497
fix(makefile): Use shell-builtins in Makefile
This improves portability, especially on systems like NixOS, where
`/bin/pwd` and `/usr/bin/printf` do not exist.
2023-05-19 00:46:44 +01:00
Dom Rodriguez 8e3ac20145
refactor(scripts): Use `#!/usr/bin/env` as part of shebang
This resolves build errors in systems like NixOS, where `/bin/bash`
doesn't exist.
2023-05-19 00:45:38 +01:00
Finlay Davidson 380da2a74d Add note in README about blue LED when connected 2023-03-01 01:13:35 +01:00
Ben V. Brown 185cc2bc29
Merge pull request #49 from FintasticMan/apply_shellcheck
Apply changes suggested by shellcheck
2023-02-21 07:16:21 +11:00
Finlay Davidson e5d98d072f Add compile option for blue light when connected 2023-02-20 11:30:10 +01:00
Finlay Davidson 0b58ae6cb2 Don't flash blue LED when connected to bluetooth 2023-02-20 11:17:35 +01:00
Finlay Davidson 49f3e2a10c Switch to find over ls -l 2023-02-20 11:13:48 +01:00
Finlay Davidson b1de7e0d20 Apply changes suggested by shellcheck 2023-02-20 11:13:48 +01:00
Ben V. Brown 8263b4e2c2
Merge pull request #45 from FintasticMan/switch_to_opus
Switch to opus by default, and support any format
2023-02-20 13:39:37 +11:00
Finlay Davidson 32aececcaf Switch to opus by default, and support any format 2023-02-19 23:56:44 +01:00
Ben V. Brown 9ce6f966d2
Merge pull request #46 from ThatcherC/cn-audio
Language options for sound files
2023-02-20 09:27:22 +11:00
Ben V. Brown 46c05333b6
Merge branch 'main' into cn-audio 2023-02-20 09:12:43 +11:00
Ben V. Brown 012e1ca2c8
Merge pull request #47 from ThatcherC/remove-EQ_COEF
Remove unused file
2023-02-20 09:09:58 +11:00
Thatcher Chamberlin 171beef6a7 Add strip to AUDIO variable in Makefile 2023-02-19 15:00:04 -05:00
Thatcher Chamberlin d8ac8e3278 Remove unused file 2023-02-19 14:50:38 -05:00
Thatcher Chamberlin ec7941b845 Moved default AUDIO=en behavior to Makefile instead of build.sh 2023-02-19 14:42:33 -05:00
Thatcher Chamberlin 90cd88f1a8 LANG -> AUDIO 2023-02-19 14:36:52 -05:00
Thatcher Chamberlin e9ddfd6c4a
Update build.sh
Co-authored-by: FintasticMan <52415484+FintasticMan@users.noreply.github.com>
2023-02-19 14:28:49 -05:00
Thatcher Chamberlin 6d95360c51 Add language configuration to build.sh! 2023-02-18 08:35:32 -05:00