Talk:PulseAudio: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
 
(25 intermediate revisions by 2 users not shown)
Line 6: Line 6:
* Clean-up instructions get better formatting going
* Clean-up instructions get better formatting going
* Grammar/punctuation.
* Grammar/punctuation.
[Comment from jjd-uk}
Please try and get the pavucontrol screen images replaced by English versions please.


===Possible passtrough table for Pulseaudio===
=== '''Supported Formats in Pulseaudio''' ===
Please jjd-uk and fritsch input pls on lpcm and whatver you see relevant.
This is not to be added to main page its here only for reference...


{| class="wikitable" style="text-align: center; color: black;"
{| class="wikitable" style="text-align: center; color: black;"
Line 14: Line 16:
!rowspan="3" style="color:#000000; background-color:#DBDBDB;" | '''Audio Codec'''
!rowspan="3" style="color:#000000; background-color:#DBDBDB;" | '''Audio Codec'''
!colspan="12" style="color:#000000; background-color:#DBDBDB;" | '''Audio Source'''
!colspan="12" style="color:#000000; background-color:#DBDBDB;" | '''Audio Source'''
!rowspan="3" style="color:#000000; background-color:#DBDBDB;" | '''XBMC PulseAudio Passthrough Setting'''
!rowspan="3" style="color:#000000; background-color:#DBDBDB;" | '''XBMC PulseAudio Setting'''
|-
|-
!colspan="3" style="color:#000000; background-color:#DBDBDB;" | '''HD DVD'''
!colspan="3" style="color:#000000; background-color:#DBDBDB;" | '''HD DVD'''
Line 93: Line 95:
| 6.1 Mbit/s
| 6.1 Mbit/s
| 96 kHz / 24 bit
| 96 kHz / 24 bit
| MultiChannel LPCM capable receiver
| Automatically set
|-
|-
| align="left"|'''Dolby TrueHD'''
| align="left"|'''Dolby TrueHD'''
Line 133: Line 135:
|}
|}


=== Settings in xbmc for Pulseaudio ===
=Audio Configuration Guide=
Depending on how your equipment is connected together you'll need to adjust the audio setting.


THIS IS A WIP AT BEST, removed AAC and Windows references only atm please HELP!! - OSX pa sink is still being developed
{{greenv|'''NOTICE'''|The following is meant to act as a guide to get you started, thus you may want to adjust things to suit your own particular set of equipment.}}
 
{| class="prettytable" style="text-align: center; color: black;"
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.
! PC Speakers<br />(2.0)
 
! PC Speakers<br />(5.1)
{| class="wikitable" style="text-align: center; color: black;"
! TV SPDIF<br />(2.0)
!style="color:#000000; background-color:#DBDBDB;"|'''XBMC Settings'''
! TV SPDIF<br />(AC3)★
!style="color:#000000; background-color:#DBDBDB;"|'''PC Speakers<br />(2.0)'''
! AVR SPDIF<br />(AC3/DTS)★★
!style="color:#000000; background-color:#DBDBDB;"|'''PC Speakers<br />(5.1)'''
! AVR HDMI<br />(PCM)★★★
!style="color:#000000; background-color:#DBDBDB;"|'''TV'''
! AVR HDMI<br />(no HD Audio)★★★★
!style="color:#000000; background-color:#DBDBDB;"|'''AVR SPDIF'''
! AVR HDMI<br />(Decode HD Audio)★★★★★
!style="color:#000000; background-color:#DBDBDB;"|'''AVR HDMI<br />(no HD Audio) ★'''
!style="color:#000000; background-color:#DBDBDB;"|'''AVR HDMI<br />(HD Audio)'''
!style="color:#000000; background-color:#DBDBDB;"|'''SPDIF<br />(Transcode to AC3)'''
|-
|-
|align="left"|'''Audio Output'''
! colspan="9"|'''PusleAudio Mode'''
|'''Analog'''
|'''Analog'''
|'''Analog'''
|'''Optical/Coaxial'''
|'''HDMI'''
|'''HDMI'''
|'''SPDIF'''
|-
|-
|align="left"|'''Speaker configuration'''
|
|'''2.0'''
|Multichannel
|'''5.1'''
|Multichannel
|'''2.0'''
|Multichannel
|'''2.0'''
|Passthrough
|'''5.1'''
|Passthrough
|'''7.1'''
|Multichannel
|'''2.0'''
|Passthrough
|Multichannel
|-
|-
|align="left"|'''Boost volume level on downmix'''
! colspan="9"|'''Pavucontrol - Output Devices'''
|{{Enabled}}
|{{Enabled}}
|{{Enabled}}
|{{Enabled}}
|{{Enabled}}
|{{Enabled}}
|{{Enabled}}
|-
|-
|align="left"|'''Stereo upmix'''
|align="left"|'''Port'''
|{{Disabled}}
|Speakers
|{{Disabled}}
|Speakers
|{{Disabled}}
|Digital Output (S/PDIF)
|{{Disabled}}
|Digital Output (S/PDIF)
|{{Disabled}}
|Digital Output (S/PDIF)
|{{Disabled}}
|HDMI/Displayport
|{{Disabled}}
|HDMI/Displayport
|-
|HDMI/Displayport
|align="left"|'''Dolby Digital (AC3) capable receiver'''
|{{NA}}
|{{NA}}
|{{NA}}
|{{Enabled}}
|{{Enabled}}
|{{Enabled}}
|{{Enabled}}
|-
|-
|align="left"|'''DTS capable receiver'''
|align="left"|'''AC3'''
|{{NA}}
|N/A
|{{NA}}
|N/A
|{{NA}}
|Disabled
|{{Enabled}}
|Enabled
|{{Enabled}}
|Enabled
|{{Enabled}}
|Disabled
|{{Disabled}}
|Enabled
|Disabled
|-
|-
|align="left"|'''MultiChannel LPCM capable receiver'''
|align="left"|'''EAC3'''
|{{NA}}
|N/A
|{{NA}}
|N/A
|{{NA}}
|Disabled
|{{Disabled}}
|Disabled
|{{Enabled}}
|Disabled
|{{Enabled}}
|Disabled
|{{Disabled}}
|Enabled
|Disabled
|-
|-
|align="left"|'''TrueHD capable receiver'''
|align="left"|'''DTS'''
|{{NA}}
|N/A
|{{NA}}
|N/A
|{{NA}}
|Disabled
|{{Disabled}}
|Disabled
|{{Disabled}}
|Enabled
|{{Enabled}}
|Disabled
|{{Disabled}}
|Enabled
|Disable
|-
|-
|align="left"|'''DTS-HD capable receiver'''  
! colspan="9"|'''Pavucontrol - Configuration'''
|{{NA}}
|{{NA}}
|{{NA}}
|{{Disabled}}
|{{Disabled}}
|{{Enabled}}
|{{Disabled}}
|-
|-
!colspan="8" style="color:#000000; background-color:#DBDBDB;" |'''Linux / OSX - Output Device Settings'''
|align="left"|'''Profile'''
|Analog Stereo Output
|Analog Surround 5.1 Output
|Digital Stereo (IEC958) Output
|Digital Stereo (IEC958) Output
|Digital Stereo (IEC958) Output
|Digital Surround 5.1 (HDMI) Output
|Digital Stereo (HDMI) Output
|Digital Surround 7.1 (HDMI) Output
|-
!Colspan="9"|XBMC Settings
|-
|-
|align="left"|'''Audio output device'''
|align="left"|'''Audio Output Device'''
|Speakers
|Speakers
|Speakers
|Speakers
|SPDIF/HDMI
|SPDIF
|SPDIF
|SPDIF
|SPDIF
|HDMI
|HDMI
|HDMI
|HDMI
|HDMI
|SPDIF
|-
|align="left"|'''Number of channels'''
|2.0
|5.1
|N/A
|N/A
|N/A
|5.1
|2.0
|7.1
|-
|align="left"|'''Enabled passthrough'''
|Disabled
|Disabled
|Disabled
|Enabled
|Enabled
|Disabled
|Enabled
|Disabled
|-
|-
|align="left"|'''Passthrough output device'''
|align="left"|'''Passthrough output device'''
|{{NA}}
|N/A
|{{NA}}
|N/A
|{{NA}}
|N/A
|SPDIF
|SPDIF
|SPDIF
|N/A
|HDMI
|HDMI
|HDMI
|N/A
|SPDIF
|-
|align="left"|'''Dolby Digital (AC3) capable receiver'''
|N/A
|N/A
|N/A
|Enabled
|Enabled
|Disabled
|Enabled
|Disabled
|-
|align="left"|'''Enabled Dolby Digital transcoding'''
|N/A
|N/A
|N/A
|Enabled
|Enabled
|Disabled
|Enabled
|Disabled
|-
|align="left"|'''DTS capable receiver'''
|N/A
|N/A
|N/A
|Disabled
|Enabled
|Disabled
|Enabled
|Disabled
|-
|align="left"|'''TrueHD capable receiver'''
|N/A
|N/A
|N/A
|Disabled
|Disabled
|Disabled
|Disabled
|Disabled
|-
|-
|align="left"|'''DTS-HD capable receiver'''
|N/A
|N/A
|N/A
|Disabled
|Disabled
|Disabled
|Disabled
|Dsiabled
|}
|}


'''<big><nowiki>★</nowiki></big>''' Where AVR has HDMI inputs but can't decode HD audio
'''<big><nowiki>★</nowiki></big>''' Where TV can decode AC3.
 
'''<big><nowiki>★★</nowiki></big>''' Where AVR only has SPDIF which will support AC3 & DTS.
 
'''<big><nowiki>★★★</nowiki></big>''' Where AVR can do PCM 5.1
 
'''<big><nowiki>★★★★</nowiki></big>''' Where AVR has HDMI inputs but can't decode TrueHD or DTS-HD but does support 5.1 Ac3 or DTS.
 
'''<big><nowiki>★★★★★</nowiki></big>''' Where AVR has full decode capabilities including PCM 7.1


'''<big><nowiki>★★</nowiki></big>''' 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.
[[Category:How-to]]
[[Category:Audio]]

Latest revision as of 15:53, 20 March 2014

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.

[Comment from jjd-uk} Please try and get the pavucontrol screen images replaced by English versions please.

Supported Formats in Pulseaudio

This is not to be added to main page its here only for reference...

Audio Codec Audio Source XBMC PulseAudio 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 Automatically set
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

Audio Configuration Guide

Depending on how your equipment is connected together you'll need to adjust the audio setting.

NOTICE The following is meant to act as a guide to get you started, thus you may want to adjust things to suit your own particular set of equipment.
PC Speakers
(2.0)
PC Speakers
(5.1)
TV SPDIF
(2.0)
TV SPDIF
(AC3)★
AVR SPDIF
(AC3/DTS)★★
AVR HDMI
(PCM)★★★
AVR HDMI
(no HD Audio)★★★★
AVR HDMI
(Decode HD Audio)★★★★★
PusleAudio Mode
Multichannel Multichannel Multichannel Passthrough Passthrough Multichannel Passthrough Multichannel
Pavucontrol - Output Devices
Port Speakers Speakers Digital Output (S/PDIF) Digital Output (S/PDIF) Digital Output (S/PDIF) HDMI/Displayport HDMI/Displayport HDMI/Displayport
AC3 N/A N/A Disabled Enabled Enabled Disabled Enabled Disabled
EAC3 N/A N/A Disabled Disabled Disabled Disabled Enabled Disabled
DTS N/A N/A Disabled Disabled Enabled Disabled Enabled Disable
Pavucontrol - Configuration
Profile Analog Stereo Output Analog Surround 5.1 Output Digital Stereo (IEC958) Output Digital Stereo (IEC958) Output Digital Stereo (IEC958) Output Digital Surround 5.1 (HDMI) Output Digital Stereo (HDMI) Output Digital Surround 7.1 (HDMI) Output
XBMC Settings
Audio Output Device Speakers Speakers SPDIF SPDIF SPDIF HDMI HDMI HDMI
Number of channels 2.0 5.1 N/A N/A N/A 5.1 2.0 7.1
Enabled passthrough Disabled Disabled Disabled Enabled Enabled Disabled Enabled Disabled
Passthrough output device N/A N/A N/A SPDIF SPDIF N/A HDMI N/A
Dolby Digital (AC3) capable receiver N/A N/A N/A Enabled Enabled Disabled Enabled Disabled
Enabled Dolby Digital transcoding N/A N/A N/A Enabled Enabled Disabled Enabled Disabled
DTS capable receiver N/A N/A N/A Disabled Enabled Disabled Enabled Disabled
TrueHD capable receiver N/A N/A N/A Disabled Disabled Disabled Disabled Disabled
DTS-HD capable receiver N/A N/A N/A Disabled Disabled Disabled Disabled Dsiabled

Where TV can decode AC3.

★★ Where AVR only has SPDIF which will support AC3 & DTS.

★★★ Where AVR can do PCM 5.1

★★★★ Where AVR has HDMI inputs but can't decode TrueHD or DTS-HD but does support 5.1 Ac3 or DTS.

★★★★★ Where AVR has full decode capabilities including PCM 7.1