Microphone + AudioOut to HDMI

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

 



Hello!

Please help. I can't get working microphone at HDMI output.

I have computer: ASRock 330 ION.
1. audio & video translated to LCD TV via HDMI cable.
2. external microphone connected to Mic IN.
3. headphones connected to Line Out (analog).

Sound from MP3/Video players go through HDMI output (hw:0,3) without
any problems.
Voice from microphone I _can_ hear only at analog output (headphones) (hw:0,0).
Please help forward voice from microphone to HDMI.
I have played with `asym', but unsuccessfully.
I want simultaneously sounds from video player and microphone go to output HDMI.

There are two versions `.asoundrc', but no one are forward microphone to HDMI.

Version 1 `.asoundrc'  (simplifed version)

pcm.!default {
   type asym
   playback.pcm {
          type plug
          slave.pcm "hw:0,3"
   }

   capture.pcm {
          type plug
          slave.pcm "hw:0,0"
   }
}

Version 2 `.asoundrc'

# Dupe output to HDMI & Analog
# pcm.!default plug:both
pcm.!default plug:asymed

pcm.analog {
    type hw
    card 0
    device 0
}

pcm.hd {
    type hw
    card 0
    device 3
}

pcm.dmix_analog {
    type dmix
        ipc_key 1024
        ipc_key_add_uid false
        ipc_perm 0660
        slave {
            pcm "analog"
                rate 48000
                channels 2
                period_time 0
                period_size 1024
                buffer_time 0
                buffer_size 5120
        }
}

pcm.dmix_hd {
    type dmix
        ipc_key 2048
        ipc_key_add_uid false
        ipc_perm 0660
        slave {
            pcm "hd"
                rate 48000
                channels 2
                period_time 0
                period_size 1024
                buffer_time 0
                buffer_size 5120
        }
}

# Two In One
pcm.tio {
        type multi

        slaves.a.pcm "dmix_analog"
        slaves.a.channels 2

        slaves.b.pcm "dmix_hd"
        slaves.b.channels 2

        bindings.0.slave a
        bindings.0.channel 0

        bindings.1.slave a
        bindings.1.channel 1

        bindings.2.slave b
        bindings.2.channel 0

        bindings.3.slave b
        bindings.3.channel 1
}


pcm.both {
        type route;
        slave.pcm "tio";
        slave.channels 4;
        ttable.0.0 1;
        ttable.1.1 1;
        ttable.0.2 1;
        ttable.1.3 1;
}

pcm.asymed {
    type asym
    playback.pcm "both"
    capture.pcm {
            type plug
            slave.pcm "hw:0,0"
    }
}

Thanks!

System info:

$ uname -a
Linux ion.b12 2.6.30-std-def-alt15 #1 SMP Mon Dec 14 08:45:48 UTC 2009
i686 GNU/Linux

$ lsmod | grep snd
snd_hda_codec_nvhdmi     3020  1
snd_hda_codec_realtek   197616  1
snd_hda_intel          25928  4
snd_hda_codec          75148  3
snd_hda_codec_nvhdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               7056  1 snd_hda_codec
snd_pcm                74096  4 snd_hda_intel,snd_hda_codec
snd_timer              20788  3 snd_pcm
snd                    58180  10
snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore               7072  1 snd
snd_page_alloc          8852  2 snd_hda_intel,snd_pcm

$ cat /proc/asound/devices
2: : timer
3: [ 0- 3]: digital audio playback
4: [ 0- 2]: digital audio capture
5: [ 0- 1]: digital audio playback
6: [ 0- 0]: digital audio playback
7: [ 0- 0]: digital audio capture
8: [ 0- 3]: hardware dependent
9: [ 0- 0]: hardware dependent
10: [ 0] : control

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC883 Analog [ALC883 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC883 Digital [ALC883 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 0/1
Subdevice #0: subdevice #0


Mixer settings anywhere UnMute.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
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