Stop the sound playing when video player closes

I have a video player on a popup box, when I close the popup the sound continues to play in the background,how do I stop the audio one the popup is closed?

<!–DEMO01–>
<div id="animatedModal" class="popup-modal">
<!–THIS IS IMPORTANT! to close the modal, the class name has to match the name given on the ID –>
<div id="btn-close-modal" class="close-animatedModal close-popup-modal"> <i class="ion-close-round"></i> </div>
<div class="clearfix"></div>…

Stop the sound playing when video player closes

Very poor sound quality on HSP/HFP profile, BT Sony headset

I’ve recently bought BT Sony headset. When I switch it to A2DP profile everything works fine. But when I switch to HSP/HFP for videoconference the sound is so terrible that I cannot understand other participants. Is there anything that can be done about that? It’s really annoying I cannot use my headset for conferences when I bought them exactly for that.

Ubuntu 18.04 White(strange)-Noise problem from headphone?( No Matter Sound is play or not)

I’m using win10 and ubuntu 18.04. Whenever enter ubuntu after the grub menu(Äąt starts at log.) there is constantly annoying noise from headphone . On win10 there is not problem. Noise comes out only through my headphone. Speakers work properly. I have tried many of solutions below other titles but none of them resolved. This weird noise never goes away. I even muted each input and output volume or listen to any video there is always boring noise. My laptop is Asus n552vw and my kernel version is 4.15 . Is there anyone who can help me ? 🙁

Solutions that I have tried :

-$ alsamixer – disable the loopback

-Adding 0 in the /sys/module/snd_hda_intel/parameters/power_save file

-INTEL_AUDIO_POWERSAVE=false in /usr/lib/pm-utils/power.d/intel-audio-powersave

-adding options snd-hda-intel model=dell-headset-multi in the /etc/modprobe.d/alsa-base.conf

-change the option values SOUND_POWER_SAVE_ON_AC=0 SOUND_POWER_SAVE_ON_BAT=0 in the /etc/default/tlp

-Muted input volume and at hdajackretask changed pin 0x12 internal mic to not connected

( I guess I collected almost all solutions under the single title at least)

ASUS UX534FT sound issues

I recently bought an ASUS Zenbook UX534FT and installed Ubuntu for some work with ROS. Unfortunately I am unable to hear any sound after the install both through inbuilt speakers or headphones(no trouble detecting headphones). I checked through pavucontrol and alsamixer to make sure that the devices aren’t muted. It looks like a similar issue has been reported for the previous generation zenbooks here

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1826645

but I’m not really familiar with Ubuntu to make sense of this. Grateful for any help I can get here.

Sound cards not detected after update to Ubuntu 18.04 – Nothing helps

Both my external speakers (via headphone jack) and monitor speakers (via displayport) worked prior to the update, though I remember having to fiddle when I first installed Ubuntu. Since the upgrade, the only sound output device that displays is a Unix FIFO sink from my chrome-remote-desktop.

I’ve tried everything the internet mentioned, but I can’t seem to figure out what’s wrong and I feel as though I’ve expended all of the old recommendations I’ve found here and elsewhere. As you’ll see below, my sounds cards are present but somehow not being detected by the system/pavucontrol, so my best guess is there’s some config file that’s hanging out that I haven’t been able to find and purge. Any suggestions are appreciated–I’m at my wits end and just want to watch Netflix… 🙂

My /proc/asound/cards has the following:

0 [PCH            ]: HDA-Intel - HDA Intel PCH                       HDA Intel PCH at 0xef630000 irq 39 1 [NVidia         ]: HDA-Intel - HDA NVidia                       HDA NVidia at 0xef080000 irq 17 

Likewise, lspci -v | grep -A5 -i "audio" says:

00:1b.0 Audio device: Intel Corporation 9 Series Chipset Family HD Audio Controller     Subsystem: ASRock Incorporation 9 Series Chipset Family HD Audio Controller     Flags: bus master, fast devsel, latency 0, IRQ 39     Memory at ef630000 (64-bit, non-prefetchable) [size=16K]     Capabilities: <access denied>     Kernel driver in use: snd_hda_intel     Kernel modules: snd_hda_intel -- 01:00.1 Audio device: NVIDIA Corporation GP106 High Definition Audio Controller (rev a1)     Subsystem: Micro-Star International Co., Ltd. [MSI] GP106 High Definition Audio Controller     Flags: bus master, fast devsel, latency 0, IRQ 17     Memory at ef080000 (32-bit, non-prefetchable) [size=16K]     Capabilities: <access denied>     Kernel driver in use: snd_hda_intel     Kernel modules: snd_hda_intel 

So I know my sound cards are there. I’ve also confirmed that nothing is muted in alsamixer.

aplay -l produces:

    **** List of PLAYBACK Hardware Devices **** card 0: PCH [HDA Intel PCH], device 0: ALC1150 Analog [ALC1150 Analog]   Subdevices: 1/1   Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 1: ALC1150 Digital [ALC1150 Digital]   Subdevices: 1/1   Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]   Subdevices: 1/1   Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]   Subdevices: 1/1   Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]   Subdevices: 1/1   Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]   Subdevices: 1/1   Subdevice #0: subdevice #0 

I’ve run pulseaudio -k && sudo alsa force-reload, as well.

I’ve tried uninstalling and reinstalling audio packages recommended here: Sound card stopped being detected

I’ve tried everything here, too: No sound in Ubuntu 18.04 LTS after upgrade from 16.04 LTS In pavucontrol no cards are detected so I can’t unmute gnome-alsamixer.

I’ve added options snd-hda-intel model=auto to the end of my /etc/modprobe.d/alsa-base.conf also. I built my own computer and maybe there’s something better than “auto”?

I tried removing snd_hda_intel with pulseaudio -k && sudo service alsa-utils stop && sudo modprobe -r snd_hda_intel && sudo modprobe snd-hda-intel && sudo service alsa-utils start && pulseaudio -D but couldn’t because it was in use.

I’m out of ideas. :/

Disable sound in thunderbird when sending an email via ctrl+enter?

I am using Mozilla Thunderbird 60.8.0 on Ubuntu 18.04 and I use to send emails by using the Ctrl+Enter shortcut.

This opens a popup saying : “Are you sure you are ready to send this message?” like this one (in French):

The actual popup

This popup is great and it often saved me from sending an email too quickly, but it comes with the default critical sound which, when music is playing, is quite annoying!

Is there any way to keep the popup but disable the sound?