Testing audio engine ActiveAE
(2014-02-28, 09:10)fritsch Wrote:
Quote:For these reasons, I ask: is it possible to perform an output channel override/hack (in a config file somewhere) that will change ActiveAE behaviour only in the event of 4.0/4.1 input channels ? And use the native sample rate as found in the file ?

No.

Been trying to work with the advice offered last week (ie: switch to Fixed Audio Output), and if I had a dollar for every time I've been to the Settings screens, well... I could buy some really fancy A/V gear !

But seriously, I think I've asked the wrong question above. Better stated:

Request: Can you please change the xbmc audio output behaviour for 4.0/4.1 PCM audio, to match the current behaviour for 3.0 PCM.

That's all... just do the same thing as you do with 3.0 audio.

This should close the loophole which many/most HDMI-equipped ARVs now suffer: PCM audio over HDMI is either 2-CH, or movie-style 5.1/7.1-CH, and other configs are not recognized. We need to send 4.0/4.1 in a 5.1 "wrapper".

xbmc does this today with 3.0 audio, as seen in the following log excerpt:

Code:
INFO: CActiveAESink::OpenSink - initialize sink  
DEBUG: CActiveAESink::OpenSink - trying to open device ALSA:hdmi:CARD=PCH,DEV=1  
DEBUG: CAESinkALSA::GetChannelLayout - Input Channel Count: 3 Output Channel Count: 5  
DEBUG: CAESinkALSA::GetChannelLayout - Requested Layout: FL,FR,FC  
DEBUG: CAESinkALSA::GetChannelLayout - Got Layout: FL,FR,BL,BR,FC  
INFO: CAESinkALSA::Initialize - Attempting to open device "hdmi:CARD=PCH,DEV=1"  
INFO: CAESinkALSA::Initialize - Opened device "hdmi:CARD=PCH,DEV=1,AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x0a"  
INFO: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats  
INFO: CAESinkALSA::InitializeHW - Using data format AE_FMT_S32NE  
DEBUG: CAESinkALSA::InitializeHW - Request: periodSize 682, bufferSize 2730  
DEBUG: CAESinkALSA::InitializeHW - Got: periodSize 910, bufferSize 2730  
DEBUG: CAESinkALSA::InitializeHW - Setting timeout to 29 ms  
DEBUG: CAESinkALSA::GetChannelLayout - Input Channel Count: 3 Output Channel Count: 6  
DEBUG: CAESinkALSA::GetChannelLayout - Requested Layout: FL,FR,FC  
DEBUG: CAESinkALSA::GetChannelLayout - Got Layout: FL,FR,BL,BR,FC,LFE  
DEBUG: CActiveAESink::OpenSink - ALSA Initialized:  
DEBUG:   Output Device : HDA Intel PCH  
DEBUG:   Sample Rate   : 96000  
DEBUG:   Sample Format : AE_FMT_S32NE  
DEBUG:   Channel Count : 6  
DEBUG:   Channel Layout: FL,FR,BL,BR,FC,LFE  
DEBUG:   Frames        : 910  
DEBUG:   Frame Samples : 5460  
DEBUG:   Frame Size    : 24

The change/fix seems simple enough to me (who has no insight into xbmc audio internals), when you get 4.0/4.1, do what you already do with 3.0 - wrap it.

Am I missing some fatal flaw in this approach ?

Thank you again, for the huge effort in building the ActiveAE engine - I hope this observation will lead to making xbmc just a little more effective as a one-stop media center solution.

Cheers,
Grant
::  LibreELEC 9.2.6 RELEASE - Generic x86_64  ::  Intel 847 NUC  ::  KVR1333D3S9/4G  ::  Kingston SMS200S3/30G mSATA  ::  MS 1044 MCE keyboard  ::  GP-IR02BK remote  ::  Xonfluence  ::  10.9TiB on FreeNAS v11.3-U5 (RAID-Z2)  ::
Reply


Messages In This Thread
Testing audio engine ActiveAE - by Cranial - 2013-08-02, 23:22
RE: Testing audio engine ActiveAE - by rat666 - 2013-08-04, 20:26
RE: Testing audio engine ActiveAE - by WiSo - 2013-08-05, 18:28
RE: Testing audio engine ActiveAE - by WiSo - 2013-08-05, 18:45
RE: Testing audio engine ActiveAE - by erhnam - 2013-08-10, 15:13
RE: Testing audio engine ActiveAE - by WiSo - 2013-08-11, 13:10
RE: Testing audio engine ActiveAE - by WiSo - 2013-08-11, 14:59
RE: Testing audio engine ActiveAE - by WiSo - 2013-08-11, 17:49
RE: Testing audio engine ActiveAE - by WiSo - 2013-08-11, 18:27
RE: Testing audio engine ActiveAE - by WiSo - 2013-08-11, 20:34
RE: Testing audio engine ActiveAE - by Ace - 2013-08-12, 12:40
RE: Testing audio engine ActiveAE - by Ace - 2013-08-12, 14:54
RE: Testing audio engine ActiveAE - by Ace - 2013-08-12, 16:13
RE: Testing audio engine ActiveAE - by Ace - 2013-08-13, 09:35
RE: Testing audio engine ActiveAE - by Ace - 2013-08-13, 09:50
RE: Testing audio engine ActiveAE - by Ace - 2013-08-13, 09:58
RE: Testing audio engine ActiveAE - by Uukrul - 2013-08-13, 15:27
RE: Testing audio engine ActiveAE - by Ace - 2013-08-13, 15:50
RE: Testing audio engine ActiveAE - by Uukrul - 2013-08-14, 19:37
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-08-15, 00:01
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-08-15, 00:14
RE: Testing audio engine ActiveAE - by WiSo - 2013-08-15, 09:52
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-08-15, 10:51
RE: Testing audio engine ActiveAE - by WiSo - 2013-08-15, 13:06
RE: Testing audio engine ActiveAE - by WiSo - 2013-08-15, 10:02
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-08-15, 11:49
RE: Testing audio engine ActiveAE - by WiSo - 2013-08-15, 12:56
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-08-15, 12:39
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-08-15, 13:17
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-08-15, 13:39
RE: Testing audio engine ActiveAE - by WiSo - 2013-08-15, 17:04
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-08-15, 14:10
RE: Testing audio engine ActiveAE - by WiSo - 2013-08-15, 18:49
RE: Testing audio engine ActiveAE - by WiSo - 2013-08-15, 19:37
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-08-16, 10:24
RE: Testing audio engine ActiveAE - by WiSo - 2013-08-16, 10:48
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-08-16, 11:04
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-08-16, 11:00
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-08-16, 13:28
RE: Testing audio engine ActiveAE - by WiSo - 2013-08-16, 13:47
RE: Testing audio engine ActiveAE - by Ace - 2013-08-18, 19:00
RE: Testing audio engine ActiveAE - by Ace - 2013-08-19, 15:27
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-08-19, 11:10
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-08-19, 12:22
RE: Testing audio engine ActiveAE - by Ace - 2013-08-19, 16:26
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-08-19, 20:00
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-08-19, 22:55
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-08-19, 22:51
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-08-19, 23:03
RE: Testing audio engine ActiveAE - by negge - 2013-08-19, 23:52
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-08-20, 11:24
RE: Testing audio engine ActiveAE - by negge - 2013-08-20, 19:30
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-08-21, 01:23
RE: Testing audio engine ActiveAE - by negge - 2013-08-21, 09:44
RE: Testing audio engine ActiveAE - by negge - 2013-08-21, 10:02
RE: Testing audio engine ActiveAE - by WiSo - 2013-08-22, 20:22
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-08-23, 12:45
RE: Testing audio engine ActiveAE - by Uukrul - 2013-08-23, 15:03
RE: Testing audio engine ActiveAE - by ursli - 2013-08-23, 16:17
RE: Testing audio engine ActiveAE - by ursli - 2013-08-23, 17:44
RE: Testing audio engine ActiveAE - by ursli - 2013-08-23, 18:47
RE: Testing audio engine ActiveAE - by ursli - 2013-08-24, 12:07
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-08-24, 13:00
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-08-24, 13:05
RE: Testing audio engine ActiveAE - by Ace - 2013-08-26, 17:49
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-08-30, 10:19
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-08-30, 11:18
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-08-29, 21:39
RE: Testing audio engine ActiveAE - by arnova - 2013-08-31, 14:41
RE: Testing audio engine ActiveAE - by manio - 2013-09-01, 17:03
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-09-04, 12:53
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-09-04, 12:55
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-09-04, 13:02
RE: Testing audio engine ActiveAE - by bibi - 2013-09-07, 09:37
RE: Testing audio engine ActiveAE - by bibi - 2013-09-07, 16:40
RE: Testing audio engine ActiveAE - by jpsdr - 2013-09-07, 17:43
RE: Testing audio engine ActiveAE - by jpsdr - 2013-09-07, 18:17
RE: Testing audio engine ActiveAE - by jpsdr - 2013-09-07, 18:43
RE: Testing audio engine ActiveAE - by jpsdr - 2013-09-07, 20:18
RE: Testing audio engine ActiveAE - by jpsdr - 2013-11-09, 19:37
RE: Testing audio engine ActiveAE - by jpsdr - 2013-09-08, 08:48
RE: Testing audio engine ActiveAE - by jpsdr - 2013-09-11, 10:21
RE: Testing audio engine ActiveAE - by jpsdr - 2013-09-14, 13:21
RE: Testing audio engine ActiveAE - by bibi - 2013-09-08, 08:22
RE: Testing audio engine ActiveAE - by jpsdr - 2013-09-08, 09:27
RE: Testing audio engine ActiveAE - by bibi - 2013-09-08, 09:35
RE: Testing audio engine ActiveAE - by bibi - 2013-09-08, 13:27
RE: Testing audio engine ActiveAE - by jpsdr - 2013-09-09, 09:25
RE: Testing audio engine ActiveAE - by bibi - 2013-09-09, 19:13
RE: Testing audio engine ActiveAE - by bibi - 2013-09-09, 21:46
RE: Testing audio engine ActiveAE - by bibi - 2013-09-10, 08:13
RE: Testing audio engine ActiveAE - by bibi - 2013-09-10, 08:29
RE: Testing audio engine ActiveAE - by tarkus - 2013-09-10, 14:34
RE: Testing audio engine ActiveAE - by tarkus - 2013-09-11, 02:03
RE: Testing audio engine ActiveAE - by bibi - 2013-09-10, 18:40
RE: Testing audio engine ActiveAE - by bibi - 2013-09-10, 20:13
RE: Testing audio engine ActiveAE - by tarkus - 2013-09-13, 16:42
RE: Testing audio engine ActiveAE - by tarkus - 2013-09-14, 06:41
RE: Testing audio engine ActiveAE - by ursli - 2013-09-14, 11:31
RE: Testing audio engine ActiveAE - by ursli - 2013-09-14, 11:43
RE: Testing audio engine ActiveAE - by ursli - 2013-09-17, 20:58
RE: Testing audio engine ActiveAE - by ursli - 2013-09-14, 12:07
RE: Testing audio engine ActiveAE - by ursli - 2013-09-14, 13:47
RE: Testing audio engine ActiveAE - by ursli - 2013-09-19, 13:19
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-09-20, 11:52
RE: Testing audio engine ActiveAE - by rat666 - 2013-09-21, 15:28
RE: Testing audio engine ActiveAE - by rat666 - 2013-09-21, 15:40
RE: Testing audio engine ActiveAE - by rat666 - 2013-09-21, 16:02
RE: Testing audio engine ActiveAE - by bibi - 2013-09-24, 22:45
RE: Testing audio engine ActiveAE - by bibi - 2013-09-25, 10:03
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-09-27, 16:42
RE: Testing audio engine ActiveAE - by dhead - 2013-10-03, 04:42
RE: Testing audio engine ActiveAE - by dhead - 2013-10-03, 11:47
RE: Testing audio engine ActiveAE - by dhead - 2013-10-03, 12:25
RE: Testing audio engine ActiveAE - by dhead - 2013-10-03, 12:56
RE: Testing audio engine ActiveAE - by eskape - 2013-10-05, 10:21
RE: Testing audio engine ActiveAE - by apok - 2013-10-22, 23:15
RE: Testing audio engine ActiveAE - by apok - 2013-10-22, 23:42
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-11-03, 18:14
RE: Testing audio engine ActiveAE - by yasij - 2013-11-03, 23:05
RE: Testing audio engine ActiveAE - by rat666 - 2013-11-03, 23:22
RE: Testing audio engine ActiveAE - by yasij - 2013-11-05, 21:19
RE: Testing audio engine ActiveAE - by Wakey - 2013-11-05, 17:29
RE: Testing audio engine ActiveAE - by edrikk - 2013-11-16, 02:44
RE: Testing audio engine ActiveAE - by rat666 - 2013-11-05, 20:15
RE: Testing audio engine ActiveAE - by yasij - 2013-11-05, 21:34
RE: Testing audio engine ActiveAE - by yasij - 2013-11-05, 22:14
RE: Testing audio engine ActiveAE - by rat666 - 2013-11-07, 21:36
RE: Testing audio engine ActiveAE - by rat666 - 2013-11-07, 22:31
RE: Testing audio engine ActiveAE - by jpsdr - 2013-11-10, 15:20
RE: Testing audio engine ActiveAE - by hugo57 - 2013-11-14, 11:21
RE: Testing audio engine ActiveAE - by hugo57 - 2013-11-15, 06:55
RE: Testing audio engine ActiveAE - by hugo57 - 2013-11-16, 06:41
RE: Testing audio engine ActiveAE - by edrikk - 2013-11-17, 04:38
RE: Testing audio engine ActiveAE - by edrikk - 2013-11-17, 14:53
RE: Testing audio engine ActiveAE - by jpsdr - 2013-11-17, 13:14
RE: Testing audio engine ActiveAE - by rat666 - 2013-11-17, 14:08
RE: Testing audio engine ActiveAE - by edrikk - 2013-11-17, 22:23
RE: Testing audio engine ActiveAE - by bimme - 2013-11-17, 16:45
RE: Testing audio engine ActiveAE - by bimme - 2013-11-17, 17:57
RE: Testing audio engine ActiveAE - by bimme - 2013-11-18, 20:22
RE: Testing audio engine ActiveAE - by Selene - 2013-11-17, 21:58
RE: Testing audio engine ActiveAE - by ibazzi - 2013-11-18, 11:04
RE: Testing audio engine ActiveAE - by ibazzi - 2013-11-18, 11:39
RE: Testing audio engine ActiveAE - by ibazzi - 2013-11-25, 16:46
RE: Testing audio engine ActiveAE - by bimme - 2013-11-18, 20:25
RE: Testing audio engine ActiveAE - by edrikk - 2013-11-19, 17:44
RE: Testing audio engine ActiveAE - by edrikk - 2013-11-23, 22:22
RE: Testing audio engine ActiveAE - by ibazzi - 2013-11-26, 09:59
RE: Testing audio engine ActiveAE - by Shine - 2013-11-30, 23:05
RE: Testing audio engine ActiveAE - by Shine - 2013-12-01, 18:18
RE: Testing audio engine ActiveAE - by Shine - 2013-12-11, 23:39
RE: Testing audio engine ActiveAE - by urio - 2013-12-01, 14:06
RE: Testing audio engine ActiveAE - by margro - 2013-12-01, 14:22
RE: Testing audio engine ActiveAE - by margro - 2013-12-01, 14:41
RE: Testing audio engine ActiveAE - by margro - 2013-12-01, 15:37
RE: Testing audio engine ActiveAE - by Shine - 2013-12-01, 22:55
RE: Testing audio engine ActiveAE - by Shine - 2013-12-02, 23:15
RE: Testing audio engine ActiveAE - by Shine - 2013-12-06, 02:53
RE: Testing audio engine ActiveAE - by Shine - 2013-12-06, 15:41
RE: Testing audio engine ActiveAE - by Shine - 2013-12-06, 22:30
RE: Testing audio engine ActiveAE - by Shine - 2013-12-07, 01:23
RE: Testing audio engine ActiveAE - by Shine - 2013-12-07, 01:44
RE: Testing audio engine ActiveAE - by Shine - 2013-12-09, 23:21
RE: Testing audio engine ActiveAE - by Shine - 2013-12-10, 21:03
RE: Testing audio engine ActiveAE - by Shine - 2013-12-10, 22:56
RE: Testing audio engine ActiveAE - by Shine - 2013-12-11, 13:11
RE: Testing audio engine ActiveAE - by Shine - 2013-12-11, 15:19
RE: Testing audio engine ActiveAE - by Shine - 2013-12-11, 15:44
RE: Testing audio engine ActiveAE - by Shine - 2013-12-11, 21:16
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-12-17, 16:07
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-12-17, 16:14
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-12-17, 16:25
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-12-18, 16:30
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-12-19, 14:48
RE: Testing audio engine ActiveAE - by jjd-uk - 2013-12-19, 14:57
RE: Testing audio engine ActiveAE - by furii - 2013-12-19, 17:53
RE: Testing audio engine ActiveAE - by furii - 2013-12-20, 08:40
Party mode bug still exists - by tarkus - 2014-01-01, 13:27
RE: Testing audio engine ActiveAE - by bibi - 2014-01-03, 11:55
RE: Testing audio engine ActiveAE - by bibi - 2014-01-03, 21:45
RE: Testing audio engine ActiveAE - by bibi - 2014-01-04, 17:17
RE: Testing audio engine ActiveAE - by jpsdr - 2014-01-07, 10:55
RE: Testing audio engine ActiveAE - by jjd-uk - 2014-01-07, 13:55
RE: Testing audio engine ActiveAE - by bibi - 2014-01-07, 16:03
RE: Testing audio engine ActiveAE - by bibi - 2014-01-08, 21:09
RE: Testing audio engine ActiveAE - by jpsdr - 2014-01-09, 22:29
RE: Testing audio engine ActiveAE - by jjd-uk - 2014-02-12, 23:29
RE: Testing audio engine ActiveAE - by jjd-uk - 2014-02-12, 23:53
RE: Testing audio engine ActiveAE - by jjd-uk - 2014-02-13, 14:39
RE: Testing audio engine ActiveAE - by jjd-uk - 2014-02-13, 16:28
RE: Testing audio engine ActiveAE - by jjd-uk - 2014-02-13, 18:54
RE: Testing audio engine ActiveAE - by hugo57 - 2014-02-14, 16:26
RE: Wrapping Odd CH Layouts in 5.1 Clothing... - by gjwAudio - 2014-03-13, 08:36
RE: Testing audio engine ActiveAE - by bibi - 2014-03-18, 12:26
RE: Testing audio engine ActiveAE - by cg110 - 2014-03-22, 19:51
RE: Testing audio engine ActiveAE - by jjd-uk - 2014-03-31, 15:05
RE: Testing audio engine ActiveAE - by jjd-uk - 2014-03-31, 15:51
RE: Testing audio engine ActiveAE - by jjd-uk - 2014-03-31, 16:27
RE: Testing audio engine ActiveAE - by jjd-uk - 2014-03-31, 17:04
Bitsreaming with XBMC Gotham - by mstanic - 2014-04-02, 00:47
RE: Testing audio engine ActiveAE - by tija - 2014-04-07, 16:28
RE: Testing audio engine ActiveAE - by hugo57 - 2014-04-08, 08:00
RE: Testing audio engine ActiveAE - by hugo57 - 2014-04-09, 06:26
RE: Testing audio engine ActiveAE - by jjd-uk - 2014-04-09, 10:24
RE: Testing audio engine ActiveAE - by hugo57 - 2014-04-10, 07:17
RE: Testing audio engine ActiveAE - by hugo57 - 2014-04-10, 20:55
RE: Testing audio engine ActiveAE - by hugo57 - 2014-04-10, 21:11
RE: Testing audio engine ActiveAE - by hugo57 - 2014-04-10, 21:40
RE: Testing audio engine ActiveAE - by jpsdr - 2014-04-11, 10:08
RE: Testing audio engine ActiveAE - by hugo57 - 2014-05-02, 15:08
RE: Testing audio engine ActiveAE - by cg110 - 2014-05-24, 15:15
RE: Testing audio engine ActiveAE - by cg110 - 2014-05-25, 04:04
RE: Testing audio engine ActiveAE - by ursli - 2014-05-26, 20:00
RE: Testing audio engine ActiveAE - by ursli - 2014-05-26, 20:50
RE: Testing audio engine ActiveAE - by cert_ - 2014-08-25, 22:23
RE: Testing audio engine ActiveAE - by cert_ - 2014-08-25, 22:58
RE: Testing audio engine ActiveAE - by cert_ - 2014-08-25, 23:28
RE: Testing audio engine ActiveAE - by Scores - 2014-12-13, 17:57
RE: Testing audio engine ActiveAE - by Scores - 2014-12-17, 18:25
RE: Testing audio engine ActiveAE - by cmba - 2015-02-06, 03:40
RE: Testing audio engine ActiveAE - by cmba - 2015-02-08, 01:55
RE: Testing audio engine ActiveAE - by cmba - 2015-02-08, 02:00
Logout Mark Read Team Forum Stats Members Help
Testing audio engine ActiveAE1