Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Built in DAC output doesn't work on Ka-Radio32 V2.1 R3 and V2.2 R0 #252

Closed
Ant-12 opened this issue Jan 26, 2022 · 8 comments
Closed

Built in DAC output doesn't work on Ka-Radio32 V2.1 R3 and V2.2 R0 #252

Ant-12 opened this issue Jan 26, 2022 · 8 comments

Comments

@Ant-12
Copy link

Ant-12 commented Jan 26, 2022

To solve this problem, these changes in audio_renderer.c must be reverted.

What was the reason of these changes?

P.S.
I also got a similar error, trying to flash firmware using "make flash".
The solution for me was to change "Bootloader config ---> Bootloader log verbosity" to "Info".

@Ant-12 Ant-12 changed the title Internal DAC output doesn't work on Ka-Radio32 V2.1 R3 Built in DAC output doesn't work on Ka-Radio32 V2.1 R3 and V2.2 R0 Jan 28, 2022
@karawin
Copy link
Owner

karawin commented Jan 31, 2022

I think it comes from the spdif test. I will change it.

Try the prerelease
sys.prerelease

@Ant-12
Copy link
Author

Ant-12 commented Feb 3, 2022

Release 2.2, Revision 1 - still getting noise

@Ant-12
Copy link
Author

Ant-12 commented Feb 5, 2022

Release 2.2R1 and prerelease(2021-02-05) - built in DAC still doesn't work...

There are too many "2.2R1" versions. Maybe you will add a timestamp of build for prereleases?

@karawin
Copy link
Owner

karawin commented Feb 5, 2022

Release 2.2R1 before today was a mistake.
I cannot test dac.
I added the missing parts but ....
Please help.

@Ant-12
Copy link
Author

Ant-12 commented Feb 5, 2022

You did not revert all changes.
There need to correct this line.

And please decrease "Bootloader log verbosity".

P.S.
Have you tried to build Ka-radio32 under linux OS? I got better results in decoding of HE-AACv2 streams(64 kbit) using this:
Toolchain version: crosstool-ng-1.22.0-97-gc752ad5
Compiler version: 5.2.0
ESP-IDF v3.3.5-dirty

@karawin
Copy link
Owner

karawin commented Feb 5, 2022

Right, I never thought that it may be the cause.
It works now.
"And please decrease "Bootloader log verbosity"."
Ok

I will reload a good R1 this night.

KaRadio is under linux, but KaRadio32 is under windows.
In fact I dont have so much time to change, and a bit lazy ;-)

I will migrate to esp_idf v5 as soon as possible but ....
Thanks

@karawin
Copy link
Owner

karawin commented Feb 5, 2022

Generated in release mode, now
fdkaac_decoder: pcm_size 8192, channels: 2, sample rate: 48000, object type: 2, bitrate: 62812

Works well.
Updated and ready for OTA.

@Ant-12
Copy link
Author

Ant-12 commented Feb 6, 2022

Now I can confirm that built in DAC works.
But your builds still have problems(stuttering) with playing HE-AACv2 streams(64 kbit) through S/PDIF output...

@Ant-12 Ant-12 closed this as completed Feb 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants