(2014-03-19, 09:08)Gigantur Wrote: (2014-03-18, 15:06)Memphiz Wrote: Yes i have reenabled them for sure:
see https://github.com/Memphiz/xbmc/blob/osx...X.cpp#L296
In giganturs logs they didn't appear always - it was in repsteins logs where we saw them. (its a different story why those are not fired on giganturs setup - it seems the os doesn't think anything to the device list changed ...).
I suspect if I hard power off TV it will ..
As above - in my previous experience standy and power off are different - if i rebooted my previous gen mac with TV actually off versus standby (then turned TV on later) the mac was a train wreck in terms of graphics - at the time i found heaps of info on the web saying same thing ..
Still ok with hard power off .. here is the
debug
Steps:
Play
Pause
TV OFF
wait 3 minutes
TV ON
Play (ok)
Pause
upload debug
Log shows the following after the power off:
23:03:41 T:4677230592 DEBUG: CActiveAE - device change event
23:03:41 T:4677767168 ERROR: CActiveAESink::OutputSamples - failed
23:03:41 T:4677767168 ERROR: CEngineStats::UpdateSinkDelay - inconsistency in buffer time
23:03:41 T:4677767168 ERROR: CCoreAudioDevice::Stop: Unable to stop device. Error = '!dev'
23:03:41 T:4677767168 ERROR: CCoreAudioDevice::RemoveIOProc: Unable to remove IOProc. Error = '!dev'
23:03:41 T:4434699024 DEBUG: CWinSystemOSX:
isplayReconfigured with flags 1
23:03:41 T:4434699024 DEBUG: CWinSystemOSX::AnnounceOnLostDevice
23:03:41 T:4677767168 DEBUG: CCoreAudioStream::Close: Couldn't remove property listener.
23:03:41 T:4677767168 DEBUG: Previous line repeats 1 times.
23:03:41 T:4677767168 DEBUG: CCoreAudioStream::Close: Restoring original physical format for stream 0x0045. ([lpcm] Mixable Interleaved 2 Channel 16-bit Signed Integer LE (48000Hz))
23:03:41 T:4677767168 ERROR: CCoreAudioStream::SetPhysicalFormat: Unable to set physical format for stream 0x0045. Error = '!obj'
23:03:41 T:4677767168 DEBUG: CCoreAudioStream::Close: Closed stream 0x0045.
23:03:41 T:4677767168 ERROR: CCoreAudioDevice::GetBufferSize: Unable to retrieve buffer size. Error = '!obj'
23:03:41 T:4677767168 ERROR: CCoreAudioDevice::SetBufferSize: Unable to set buffer size. Error = '!obj'
23:03:41 T:4677767168 ERROR: CCoreAudioDevice::GetBufferSize: Unable to retrieve buffer size. Error = '!obj'
23:03:41 T:4677767168 ERROR: CCoreAudioDevice::SetBufferSize: Buffer size change not applied.
Oddly, the log also shows a number of errors after the first play/pause (prior to turning the TV off):
23:00:05 T:4434699024 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPause
23:00:05 T:4434699024 DEBUG: ------ Window Init (DialogSeekBar.xml) ------
23:00:05 T:4434699024 DEBUG: Window DialogSeekBar.xml was already loaded
23:00:05 T:4434699024 DEBUG: Alloc resources: 0.17m
23:00:08 T:4939350016 DEBUG: CoreAudio: audiodevicelist changed - reenumerating
23:00:08 T:4939350016 DEBUG: CoreAudio: audiodevicelist changed - done
23:00:08 T:4677230592 DEBUG: CActiveAE - device change event
23:00:08 T:4677767168 ERROR: CActiveAESink::OutputSamples - failed
23:00:08 T:4677767168 ERROR: CEngineStats::UpdateSinkDelay - inconsistency in buffer time
23:00:08 T:4677767168 ERROR: CCoreAudioDevice::Stop: Unable to stop device. Error = '!dev'
23:00:08 T:4677767168 ERROR: CCoreAudioDevice::RemoveIOProc: Unable to remove IOProc. Error = '!dev'
23:00:08 T:4677767168 DEBUG: CCoreAudioStream::Close: Couldn't remove property listener.
23:00:08 T:4677767168 DEBUG: Previous line repeats 1 times.
23:00:08 T:4677767168 DEBUG: CCoreAudioStream::Close: Restoring original physical format for stream 0x0041. ([lpcm] Mixable Interleaved 2 Channel 16-bit Signed Integer LE (48000Hz))
23:00:08 T:4677767168 ERROR: CCoreAudioStream::SetPhysicalFormat: Unable to set physical format for stream 0x0041. Error = '!obj'
23:00:08 T:4677767168 DEBUG: CCoreAudioStream::Close: Closed stream 0x0041.
23:00:08 T:4677767168 ERROR: CCoreAudioDevice::GetBufferSize: Unable to retrieve buffer size. Error = '!obj'
23:00:08 T:4677767168 ERROR: CCoreAudioDevice::SetBufferSize: Unable to set buffer size. Error = '!obj'
23:00:08 T:4677767168 ERROR: CCoreAudioDevice::GetBufferSize: Unable to retrieve buffer size. Error = '!obj'
23:00:08 T:4677767168 ERROR: CCoreAudioDevice::SetBufferSize: Buffer size change not applied.
If these are not relevant then apols - will leave to the guys who know ..