Re: Playing and recording html5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry yes. 

Initially I couldn't get html5 to play sound at all and cam across this statement 


> HTML5 does not play in firefox browser
> 
> Some system motherboards (i.e. Asus Z87-EXPERT) cause Card 0 to be a MID
> device instead of a PCM device. The same driver module snd_hda_intel is
> used for both the MID and PCM cards on this motherboard. For some reason
> Firefox HTML 5 requires Card 0 of the snd_hda_intel no matter how you
> change it with asoundrc. You can make flash work using the asoundrc file,
> but HTML 5 audio is silent.

My motherboard is Asus Z87-K. The default aplay -l seemed to confirm the above statement 

**** List of PLAYBACK Hardware Devices ****
card 0: MID [HDA Intel MID], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD Digital]                                                                                                                                                                 
  Subdevices: 1/1                                                                                                                                                                                                                            
  Subdevice #0: subdevice #0                               


So I attempted to blacklist the HDMI module. This was my attempt /etc/modprobe.d/alsa-base.conf


/etc/modprobe.d/

# https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture                                                                                                                                                                     
#                                                                                                                                                                                                                                            
options snd_hda_codec_hdmi index=-2       


Which seemed to successfully stop the module snd_hda_codec_hdmi from being loaded and also resulted in aplay no longer being able to find card 0. My initial solution was not to black Card 0 and with my .asoundrc for Scenario 1 would make no difference.

Alex






On Saturday 07 Feb 2015 14:58:42 Ralf Mardorf wrote:
> On Sat, 07 Feb 2015 13:31:36 +0000, mcmurchy1917-alsa@xxxxxxxxxxx wrote:
> >aplay -l
> 
> For the second time I see that aplay -l doesn't show card 0.
> 
> That's strange. One card should be hw:0, the default device.
> 
> [rocketmouse@archlinux ~]$ aplay -l
> **** List of PLAYBACK Hardware Devices ****
> card 0: HDSPMx579bcc [RME AIO_579bcc], device 0: RME AIO [RME AIO]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 1: EWX2496 [TerraTec EWX24/96], device 0: ICE1712 multi [ICE1712
> multi] Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 2: EWX2496_1 [TerraTec EWX24/96], device 0: ICE1712 multi [ICE1712
> multi] Subdevices: 1/1
>   Subdevice #0: subdevice #0
> 
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Alsa-user mailing list
> Alsa-user@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/alsa-user

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user




[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux