Talk:PulseAudio

From Official Kodi Wiki
Revision as of 10:39, 20 January 2014 by UNiversal (talk | contribs) (Settings in xbmc for Pulseaudio)
Jump to: navigation, search

Things todo:

  • Cleanup Pulseaudio references so they all refer to one thing only, e.g not PA/Pulse
  • Fix table of supported formats (we should include all formats that xbmc supports and mark them as not supported and or limitation, so there is a clear distinction when comparing to alsa

We should do the above because we must declare the obvious and not expect or assume everyone has same knowledge as the people developing. Personally I dont want to see questions like how about lpcm or how about this format... or that format.

  • Clean-up instructions get better formatting going
  • Grammar/punctuation.

1 Possible passtrough table for Pulseaudio

Please jjd-uk and fritsch input pls on lpcm and whatver you see relevant.

Audio Codec Audio Source XBMC PulseAudio Passthrough Setting
HD DVD Blu-ray Disc DVD-Video DVD-Audio
Channels (max) Max bit rate Sample rate (max) Channels (max) Max bit rate Sample rate (max) Channels (max) Max bit rate Sample rate (max) Channels (max) Max bit rate Sample rate (max)
Dolby Digital (AC-3) 5.1 504 kbit/s 48 kHz / 16 bit 5.1 640 kbit/s 48 kHz / 16 bit 5.1 448 kbit/s 48 kHz / 16 bit 5.1 448 kbit/s 48 kHz / 16 bit Dolby Digital (AC3) capable receiver
Dolby Digital Plus (E-AC-3) 7.1 3 Mbit/s 48 kHz / 24 bit 7.1 1.7 Mbit/s 48 kHz / 24 bit N/A
DTS 5.1 (Core) 1536 kbit/s 48 kHz / 24 bit 5.1 (Core) 1536 kbit/s 48 kHz / 24 bit 6.1 768 kbit/s 48 kHz / 16 bit N/A DTS capable receiver
DTS 24/96 N/A 5.1 1536 kbit/s 96 kHz / 24-bit 5.1 1536 kbit/s 96 kHz / 24-bit
Linear PCM (LPCM) 7.1 27 Mbit/s 192 kHz / 24 bit 8.1 27 Mbit/s 192 kHz / 24 bit 5.1 6.1 Mbit/s 48 kHz / 16 bit 5.1 6.1 Mbit/s 96 kHz / 24 bit MultiChannel LPCM capable receiver
Dolby TrueHD 7.1 18 Mbit/s 192 kHz / 24 bit 7.1 18 Mbit/s 192 kHz / 24 bit N/A No
DTS-HD High Resolution Audio (HRA) 7.1 6 Mbit/s 96 kHz / 24 bit 7.1 6 Mbit/s 96 kHz / 24 bit N/A No
DTS-HD Master Audio (MA) 5.1 18 Mbit/s 192 kHz / 24 bit 5.1 18 Mbit/s 192 kHz / 24 bit N/A
7.1 18 Mbit/s 96 kHz / 24 bit 7.1 18 Mbit/s 96 kHz / 24 bit N/A

2 Settings in xbmc for Pulseaudio

THIS IS A WIP AT BEST, removed AAC and Windows references only atm please HELP!! - OSX pa sink is still being developed

also chnaged settings according to new Gotham names as in https://github.com/xbmc/xbmc/commit/6c3af2a5cf0ad15041f920d99c584594f4a1bb82 However need adding the ac3 stuffs from that PR... Im a bit lost atm on that where it goes.

XBMC Settings PC Speakers
(2.0)
PC Speakers
(5.1)
TV AVR SPDIF AVR HDMI
(no HD Audio) ★
AVR HDMI
(HD Audio)
SPDIF
(Transcode to AC3)
Audio Output Analog Analog Analog Optical/Coaxial HDMI HDMI SPDIF
Speaker configuration 2.0 5.1 2.0 2.0 5.1 7.1 2.0
Boost volume level on downmix Enabled Enabled Enabled Enabled Enabled Enabled Enabled
Stereo upmix Disabled Disabled Disabled Disabled Disabled Disabled Disabled
Dolby Digital (AC3) capable receiver N/A N/A N/A Enabled Enabled Enabled Enabled
DTS capable receiver N/A N/A N/A Enabled Enabled Enabled Disabled
MultiChannel LPCM capable receiver N/A N/A N/A Disabled Enabled Enabled Disabled
TrueHD capable receiver N/A N/A N/A Disabled Disabled Enabled Disabled
DTS-HD capable receiver N/A N/A N/A Disabled Disabled Enabled Disabled
Linux / OSX - Output Device Settings
Audio output device Speakers Speakers SPDIF/HDMI SPDIF HDMI HDMI SPDIF
Passthrough output device N/A N/A N/A SPDIF HDMI HDMI SPDIF

Where AVR has HDMI inputs but can't decode HD audio

★★ WASAPI offers best quality if connected to an AVR or DAC but may not always work, and Directsound offers better compatibility and should work in just about all equipment configurations. The only time WASAPI must be used is when trying to passthrough HD audio.