Okay got my amplifier wired in (incorrectly I'm sure), and I'm having a problem getting any volume out of the line out pins. I can solder into the headphone jack for audio and it works, but its pretty muffled and I don't think I'm supposed to be doing that haha. Not sure if the muffling has anything to do with the output, could just be a shoddy speaker.
Anyways, in order to get the line out to work do I need to change anything in my code? I know you said the line out signals are fixed levels, and I read somewhere that you can adjust the line out with something like sgtl5000_1.lineOutLevel(), but I don't completely understand how that works or if that's even related to my problem.
this is what my set up looks like:
And I have the code set up like so:
AudioPlaySdWav playSdWav1;
AudioOutputI2S i2s1;
AudioConnection patchCord1(playSdWav1, 0, i2s1, 0);
AudioConnection patchCord2(playSdWav1, 1, i2s1, 1);
AudioControlSGTL5000 sgtl5000_1;
and have the potentiometer set to change the sgtl5000_1.volume(); as it previously was adjusting the volume for a speaker I had going into the HP jack.
Any advice would be greatly appreciated!!
Thank you!