The ports variable contains all ports of a card. Here I think you add
all output ports of a card to all sinks of the card and all input ports
to all sources. That's not right, a sink may have only a subset of the
card's output ports assigned to it.
The plugged in and unplugged
On 11/09/2012 08:26 PM, Tanu Kaskinen wrote:
On Fri, 2012-11-09 at 19:29 +0100, David Henningsson wrote:
On 11/09/2012 07:17 PM, Tanu Kaskinen wrote:
On Thu, 2012-11-08 at 23:38 +0100, poljar (Damir Jelić) wrote:
+if (hasNo !hasYes !hasOther)
+desc += (unplugged);
+
+if (hasNo !hasYes !hasOther)
+desc += (unplugged);
+else if (hasYes !hasNo !hasOther)
+desc += (plugged in);
I think profiles should be plugged in if any port is available.
The reason I did it for profiles in the first place, were just to
On Sat, 2012-11-10 at 22:54 +0100, David Henningsson wrote:
On 11/09/2012 08:26 PM, Tanu Kaskinen wrote:
On Fri, 2012-11-09 at 19:29 +0100, David Henningsson wrote:
On 11/09/2012 07:17 PM, Tanu Kaskinen wrote:
On Thu, 2012-11-08 at 23:38 +0100, poljar (Damir Jelić) wrote:
+if
2012-11-9 下午6:18 於 poljari...@gmail.com 寫道:
On Fri, Nov 09, 2012 at 11:03:14AM +0800, Raymond Yau wrote:
If we know if a certain port is available/unavailable, we can print
that out, as a help to the user (and as debugging for ourselves).
but the port has three state:
iec958-stereo-output: Digital Output (S/PDIF) (priority 0, available:
unknown)
properties:
is there any simple way to find out the cause of no sound problem of
spdif of ad1989b on ubuntu 12.10 ? driver (No hda jack detect kcontrol)
or pa 's spdif port priority
On Thu, 2012-11-08 at 23:38 +0100, poljar (Damir Jelić) wrote:
From: poljar (Damir Jelić) poljari...@gmail.com
If we know if a certain port is available/unavailable, we can print
that out, as a help to the user (and as debugging for ourselves).
A profile is also available/unavailable if all
On Fri, 2012-11-09 at 19:29 +0100, David Henningsson wrote:
On 11/09/2012 07:17 PM, Tanu Kaskinen wrote:
On Thu, 2012-11-08 at 23:38 +0100, poljar (Damir Jelić) wrote:
+if (hasNo !hasYes !hasOther)
+desc += (unplugged);
+else if (hasYes !hasNo !hasOther)
+if (hasNo !hasYes !hasOther)
+desc += (unplugged);
+else if (hasYes !hasNo !hasOther)
+desc += (plugged in);
I think profiles should be plugged in if any port is available.
The reason I did it for profiles in the first place,
From: poljar (Damir Jelić) poljari...@gmail.com
If we know if a certain port is available/unavailable, we can print
that out, as a help to the user (and as debugging for ourselves).
A profile is also available/unavailable if all ports which have that
profile is available/unavailable.
Credit goes
If we know if a certain port is available/unavailable, we can print
that out, as a help to the user (and as debugging for ourselves).
but the port has three state: yes, no and unknown
A profile is also available/unavailable if all ports which have that
profile is available/unavailable.
for
11 matches
Mail list logo