<p><br>
2012-11-9 下午6:18 於 <<a href="mailto:poljarinho@gmail.com">poljarinho@gmail.com</a>> 寫道:<br>
><br>
> On Fri, Nov 09, 2012 at 11:03:14AM +0800, Raymond Yau wrote:<br>
> > ><br>
> > > If we know if a certain port is available/unavailable, we can print<br>
> > > that out, as a help to the user (and as debugging for ourselves).<br>
> ><br>
> > but the port has three state: yes, no and unknown<br>
><br>
> Yes thats true, if we don't know the state of the port we don't print<br>
> out anything.<br>
> ><br>
> > > A profile is also available/unavailable if all ports which have that<br>
> > > profile is available/unavailable.<br>
> ><br>
> > for surround 5.1, does it meant that pulseaudio have to check the<br>
> > availability of the green, black and orange<br>
> ><br>
> > many professional sound card does not support jack detection since it<br>
> > produce noise during the detection<br>
> ><br>
> > spdif jack does not has any jack detection<br>
> ><br>
><br>
> We check all the ports that belong to a certain profile. So yes if we<br>
> have a surround profile we check all the surround ports for their state.</p>
<p>iec958-stereo-output: Digital Output (S/PDIF) (priority 0, available: unknown)<br>
properties:</p>
<p>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</p>
<p><a href="https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1076224">https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1076224</a><br><br></p>
<p> active profile: <output:iec958-stereo+input:analog-stereo><br>
sinks:<br>
alsa_output.pci-0000_00_1b.0.iec958-stereo/#6: Built-in Audio Digital Stereo (IEC958)<br>
sources:<br>
alsa_input.pci-0000_00_1b.0.analog-stereo/#1: Built-in Audio Analog Stereo<br>
alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor/#8: Monitor of Built-in Audio Digital Stereo (IEC958)<br>
ports:<br>
analog-output: Analog Output (priority 9900, available: unknown)<br>
properties:<br>
<br>
analog-output-headphones: Headphones (priority 9000, available: unknown)<br>
properties:<br>
<br>
analog-input-microphone-front: Front Microphone (priority 8500, available: unknown)<br>
properties:<br>
<br>
analog-input-microphone: Microphone (priority 8700, available: unknown)<br>
properties:<br>
<br>
analog-input-linein: Line In (priority 8100, available: unknown)<br>
properties:<br>
<br>
iec958-stereo-input: iec958-stereo-input (priority 0, available: unknown)<br>
properties:<br>
<br>
iec958-stereo-output: Digital Output (S/PDIF) (priority 0, available: unknown)<br>
properties:<br></p>