Irregular Sound output problem!

I have installed manjaro xfce on my “HP chromebook 11 g4” and i am facing a weird problem with sound output.

The sound works fine youtube, netflix,vlc, etc except for video games, more specifcally for the following:
1.chess,com (no audio, //but might hear a few default sounds here and there. )
2.mGBA emulator (no audio. //sometimes works for few seconds).
3. xbox cloud gaming (no audio).

However, i went to pokemon showdown website and the sound works there perfectly!!

SYSTEM INFO:

  1. inxi -a

CPU: dual core Intel Celeron N2840 (-MCP-) speed/min/max: 1666/500/2582 MHz
Kernel: 6.11.10-2-MANJARO x86_64 Up: 1h 15m Mem: 2.54/3.74 GiB (67.9%)
Storage: 14.68 GiB (53.1% used) Procs: 182 Shell: Bash 5.2.37 inxi: 3.3.36

  1. inxi -A

Audio:
Device-1: Intel Atom Processor Z36xxx/Z37xxx Series High Definition Audio
driver: snd_hda_intel
API: ALSA v: k6.11.10-2-MANJARO status: kernel-api
Server-1: PipeWire v: 1.2.5 status: active

  1. speaker-test command worked fine as fell.

Welcome to the Manjaro community.

As a new forum user, please take some time to familiarise yourself with Forum requirements; in particular, the many ways to use the forum to your benefit:

The Update Announcements should be checked frequently for important update related information.

These announcements contain a Known Issues and Solutions section and should generally be checked before posting a request for support.

Output of the following command formatted according to forum requirements (see links above) may be useful for those wishing to help:

inxi --admin --verbosity=8 --filter --no-host --width

Be prepared to provide more information and outputs from other commands when asked.

Regards.