ESP32 DAC signal

Do you have a DMM? Have you tried sending various voltages with a small test program and monitoring with the DMM to verify the DAC ouput pin?

Here is a simple code to send values to DAC1 (pin 25).

#define DAC1 25

void setup()
{
   Serial.begin(115200);
}

void loop()   // Generate a Sine wave
{
   int Value = 64; //255= 3.3V 128=1.65V 
   dacWrite(DAC1, Value);
   delay(1000);
}

I get 0.83 Vdc for 64.

If that works, have you tested the output of the DAC with the DMM while running the ESP code in the OP?
While running the sine waveform I see a bit over 0.5Vac. Frequency of 1.6 ish KHz.