Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### Command used to build all tests:
- ./bootstrap && ./configure --enable-ffmpeg-libvorbis --disable-pulse && make -j4
- ### Audio Settings for all tests:
- <audiooutput>
- <ac3passthrough>true</ac3passthrough>
- <audiodevice>custom</audiodevice>
- <channellayout>10</channellayout>
- <customdevice>hdmi:NVidia</customdevice>
- <custompassthrough>hdmi:NVidia</custompassthrough>
- <dontnormalizelevels>false</dontnormalizelevels>
- <dtshdpassthrough>true</dtshdpassthrough>
- <dtspassthrough>true</dtspassthrough>
- <guisoundwhileplayback>true</guisoundwhileplayback>
- <mode>2</mode>
- <multichannellpcm>true</multichannellpcm>
- <passthroughaac>true</passthroughaac>
- <passthroughdevice>custom</passthroughdevice>
- <passthroughmp1>true</passthroughmp1>
- <passthroughmp2>true</passthroughmp2>
- <passthroughmp3>true</passthroughmp3>
- <truehdpassthrough>true</truehdpassthrough>
- </audiooutput>
- ### Results:
- *** Latest build:
- On opening - fails to pass correct custom device name:
- INFO: CAESinkALSA::Initialize - Attempting to open device plug:hdmi
- ERROR: CAESinkALSA::Initialize - snd_pcm_open_lconf(-2) - plug:hdmi
- ERROR: CAESinkOSS::Initialize - Failed to get supported formats, assuming AFMT_S16_NE
- INFO: CSoftAE::Initialize - NULL Initialized:
- INFO: Output Device : NULL
- INFO: Sample Rate : 44100
- INFO: Sample Format : AE_FMT_FLOAT
- INFO: Channel Count : 8
- INFO: Channel Layout: FL,FR,FC,BL,BR,SL,SR,LFE
- INFO: Frames : 4410
- INFO: Frame Samples : 35280
- INFO: Frame Size : 32
- DEBUG: CSoftAE::Initialize - Using speaker layout: 7.1
- ### Regression testing:
- *** Merge pull request #17 from DDDamian/DDDamianAE on the 29/1/2012:
- Doesn't build
- *** [AE] replaced CAEUtil::SoftClamp with approx tanh implementation on the 29/1/2012:
- Same as latest build:
- ERROR: CAESinkALSA::Initialize - snd_pcm_open_lconf(-2) - plug:hdmi
- ERROR: CAESinkOSS::Initialize - Failed to get supported formats, assuming AFMT_S16_NE
- *** [AE][ALSA] added suspend/resume support on 28/1/2012
- Same as latest build:
- ERROR: CAESinkALSA::Initialize - snd_pcm_open_lconf(-2) - plug:hdmi
- ERROR: CAESinkOSS::Initialize - Failed to get supported formats, assuming AFMT_S16_NE
- *** [AE][SoftAE] fixed alsa wait timeout on 28/1/2012:
- Navigation sounds are sporadic at best maybe hear 1 in 30?
- No Navigation sounds during playback to be expected without pulse?
- On openning XBMC - Correct device is selected:
- INFO: CAESinkALSA::Initialize - Attempting to open device hdmi:NVidia
- 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 - Setting timeout to 0 ms
- INFO: CSoftAE::Initialize - ALSA Initialized:
- INFO: Output Device : hdmi:NVidia
- INFO: Sample Rate : 44100
- INFO: Sample Format : AE_FMT_S32NE
- INFO: Channel Count : 2
- INFO: Channel Layout: FL,FR
- INFO: Frames : 22
- INFO: Frame Samples : 44
- INFO: Frame Size : 8
- DEBUG: CSoftAE::Initialize - Using speaker layout: 7.1
- On playback correct device and AES settings applied:
- INFO: CAESinkALSA::Initialize - Attempting to open device hdmi:NVidia,AES0=0x06,AES1=0x82,AES2=0x00,AES3=0x02
- NOTICE: Using GL_TEXTURE_2D
- NOTICE: GL: Using VDPAU render method
- NOTICE: GL: NPOT texture support detected
- NOTICE: GL: Using GL_ARB_pixel_buffer_object
- DEBUG: GL: Disabling non-linear stretch
- DEBUG: CDVDPlayer::HandleMessages - player started 2
- DEBUG: ------ Window Deinit (DialogBusy.xml) ------
- DEBUG: CAESinkALSA::InitializeHW - Setting timeout to 0 ms
- INFO: CSoftAE::Initialize - ALSA Initialized:
- INFO: Output Device : hdmi:NVidia,AES0=0x06,AES1=0x82,AES2=0x00,AES3=0x02
- INFO: Sample Rate : 48000
- INFO: Sample Format : AE_FMT_S16NE
- INFO: Channel Count : 2
- INFO: Channel Layout: FL,FR
- INFO: Frames : 48
- INFO: Frame Samples : 96
- INFO: Frame Size : 4
- DEBUG: CDVDPlayerAudio:: synctype set to 0: clock feedback
- DEBUG: CSoftAEStream::GetFrame - Underrun
- *** [SoftAE] added new profiler sink on 28/1/2012:
- Working as above
- *** [AE][ALSA] fixed conversion of periods to frames, periods are already in frames on 28/1/2012
- Start of the failure with incorrect device being selected:
- INFO: CAESinkALSA::Initialize - Attempting to open device plug:hdmi
- ERROR: CAESinkALSA::Initialize - snd_pcm_open_lconf(-2) - plug:hdmi
- ### Changes:
- git difftool test7 test5
- 2 files changed but obvious pointer is:
- xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp on this commit
- if (device != "default" && !SoundDeviceExists(device))
- device = "default";
- ### Apply & Testing Changes
- Applying patch to latest build:
- --- /usr/src/media/XBMC_AE/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp
- @@ -100,9 +100,6 @@
- else
- cardName.Empty();
- - if (device != "default" && !SoundDeviceExists(device))
- - device = "default";
- -
- if (AE_IS_RAW(format.m_dataFormat) || passthrough)
- {
- if (device == "default")
- ### Results etc
- * Working with custom device name as it should
- * Navigation sounds working
- * No nav sounds during playback (as i think, to be expected without pulse)
- Sweetas!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement