[pulseaudio-discuss] [RFC] Passthrough support

Kelly Anderson kelly at silka.with-linux.com
Fri Feb 18 02:42:47 PST 2011


On 02/18/11 02:41, Arun Raghavan wrote:
> Hello!
>
> On Tue, 2011-02-15 at 22:02 +0530, Arun Raghavan wrote:
>> Hey folks,
>> I've put up a draft proposed API changes to get passthrough support to
>> the point where things Just Work™ for at least the common cases, based
>> on previous discussion on-/off-list:
>>
>> http://pulseaudio.org/wiki/PassthroughSupport
>>
>> Please review/comment. Once we have some consensus, I'll send in patches
>> to actually get this done.
> I've updated this page with the changes discussed so far (and translated
> them into the actual API changes that we need). Please take a look and
> let me know if this looks acceptable.
>
> Cheers,
> Arun
>
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at mail.0pointer.de
> https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss

The alsa driver has creates a /proc entry that lists the coding types 
available for a particular device.  It'd be nice if you would use that 
for the list of supported coding types (at least for a default).  I'm 
not sure the list would be automatically updated if you unplugged a 
device and plugged in a new device.  The comprehensive list of supported 
coding types is in alsa-kernel/pci/hda/hda-eld.c.

cat /proc/asound/card0/eld#1.0

monitor_present         1
eld_valid               1
monitor_name            TX-SR608

connection_type         HDMI
eld_version             [0x2] CEA-861D or below
edid_version            [0x3] CEA-861-B, C or D
manufacture_id          0xcb3d
product_id              0xa62
port_id                 0x20000
support_hdcp            0
support_ai              0
audio_sync_delay        0
speakers                [0x4f] FL/FR LFE FC RL/RR RLC/RRC
sad_count               8
sad0_coding_type        [0x1] LPCM
sad0_channels           2
sad0_rates              [0x1ee0] 44100 48000 88200 176400 192000 384000
sad0_bits               [0xe0000] 16 20 24
sad1_coding_type        [0x1] LPCM
sad1_channels           8
sad1_rates              [0x1ee0] 44100 48000 88200 176400 192000 384000
sad1_bits               [0xe0000] 16 20 24
sad2_coding_type        [0x2] AC-3
sad2_channels           8
sad2_rates              [0xe0] 44100 48000 88200
sad2_max_bitrate        640000
sad3_coding_type        [0x7] DTS
sad3_channels           8
sad3_rates              [0xc0] 48000 88200
sad3_max_bitrate        1536000
sad4_coding_type        [0x9] DSD (One Bit Audio)
sad4_channels           6
sad4_rates              [0x40] 48000
sad5_coding_type        [0xa] E-AC-3/DD+ (Dolby Digital Plus)
sad5_channels           8
sad5_rates              [0xc0] 48000 88200
sad6_coding_type        [0xb] DTS-HD
sad6_channels           8
sad6_rates              [0x1ec0] 48000 88200 176400 192000 384000
sad7_coding_type        [0xc] MLP (Dolby TrueHD)
sad7_channels           8
sad7_rates              [0x1480] 88200 192000





More information about the pulseaudio-discuss mailing list