Thanks for the clarifications.
In this case, it's probably an issue with the device's audio driver. A clean reinstall of the driver should help.
The procedure I will suggest below is different from a simple driver update and, in my experience, is more efficient at fixing audio driver issues.
I suggest you clean reinstall the audio driver as instructed below.
Download the latest audio driver from the Dell website (link below), uninstall the current driver, restart your computer, and install the driver you downloaded.
https://www.dell.com/support/product-details/en-us/product/inspiron-27-7720-aio/drivers
Driver name: Realtek High Definition Audio Driver
Version: 6.0.9954.2
(Run the downloaded EXE file and follow the on-screen instructions to install the driver.)
You should be able to uninstall the current Realtek driver in "Settings > Apps > Installed apps". It should be named "Realtek Audio Driver" or "Realtek High Definition Audio Driver".
(If you can't find the driver to uninstall, install the driver I suggested in the link above.)
After reinstalling the driver, restart (not shutdown) your PC and see if the audio will work properly.
Note: You may need to disconnect and reconnect your headphones/speakers for it to work.
If the problem persists, please let me know.
Feel free to ask any questions you may have.
Standard Disclaimer: There is a link to a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.