Re: Help needed with asound.conf

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

 



Hi,

thanx for your reply. It's not working (after removing one extra brace 
from your example) , 99% because of kernel driver...

On 12/08/2015 09:19 AM, Clemens Ladisch wrote:
> Stanislav Vlasic wrote:
>> pcm.!default {
>>           type hw
>>           card 0
>>           device 1
>>           format S16_LE
>> }
>>
>> For 3.5mm jack audio enabled, difference is only in pcm.!default where
>> device is set to 0.
>>
>> Is there a way to write asound.conf where both audio outputs will be
>> enabled at same time?
>
> With any luck, your hardware has a mixer control to route the PCM data
> to both outputs.
>
> Otherwise, try this:
>
> pcm.!default {
>      type asym
>      playback.pcm {
>          type plug
>          slave.pcm {
>                  type multi
>                  slaves {
>                      analog { pcm "hw:0,0" channels 2 }
>                      hdmi   { pcm "hw:0,1" channels 2 }
>                  }
>                  bindings [
>                      { slave analog channel 0 }
>                      { slave analog channel 1 }
>                      { slave hdmi   channel 0 }
>                      { slave hdmi   channel 1 }
>                  ]
>              }
>          }
>          ttable [
>              [ 1 0 1 0 ]
>              [ 0 1 0 1 ]
>          ]
>      }
>      capture.pcm "hw:0,0"
> }
>
>
> Regards,
> Clemens
>
> ------------------------------------------------------------------------------
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
>



------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
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