[mythtv-users] HDMI+ANALOG = "aplay: set_params:1059: Channels count non available"

Michelle Dupuis mdupuis at ocg.ca
Sun Jan 2 02:15:25 UTC 2011


Ok, I read all the links (thanks) and I think I've got my dual HDMI+Analog output almost working.  However, myth chokes with this error:

aplay: set_params:1059: Channels count non available

So I tried it from the command line.  I see the file plays fine to either HDMI, or Analog, but not both (multi):

[root at mythfe1 ~]aplay -D hdmicable /mnt/music/Frank\ Sinatra\ -\ The\ Way\ You\ Look\ Tonight\ \(Live\).wav      
Playing WAVE '/mnt/music/Frank Sinatra - The Way You Look Tonight (Live).wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
(*** PLAYS FINE****)

[root at mythfe1 ~]aplay -D analog /mnt/music/Frank\ Sinatra\ -\ The\ Way\ You\ Look\ Tonight\ \(Live\).wav          
Playing WAVE '/mnt/music/Frank Sinatra - The Way You Look Tonight (Live).wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
(*** PLAYS FINE****)

[root at mythfe1 ~]aplay -D multi /mnt/music/Frank\ Sinatra\ -\ The\ Way\ You\ Look\ Tonight\ \(Live\).wav     
Playing WAVE '/mnt/music/Frank Sinatra - The Way You Look Tonight (Live).wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
aplay: set_params:1059: Channels count non available
(**** CHOKES ****)

My full asound.conf is below.  Can anyone tell me how to fix this?

Thanks,
Michelle

---------------------


@hooks [
        {
                func load
                files [
                        "/etc/alsa/pulse-default.conf"
                ]
                errors false
        }
]

pcm.!default {
  type plug
  slave.pcm "hdmicable"
}

pcm.hdmicable {
  type hw
  card 1
  device 7
  hint {
    show on
    description "HDMI Output"
  }
}

# Control device (mixer, etc.) for the card
ctl.hdmi {
  type hw
  card 1
}

pcm.analog {
  type hw
  card 0
  device 0
  hint {
    show on
    description "Analog Output"
  }
}

# Control device (mixer, etc.) for the card
ctl.analog {
  type hw
  card 0
}


pcm.multi {
  type multi
  slaves.a.pcm "analog"
  slaves.a.channels 2
  slaves.b.pcm "hdmicable"
  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
}

ctl.multi {
  type hw
  card 0
}


More information about the mythtv-users mailing list