2021-08-18, 04:24
I use an instance of Kodi on a server for running database/library maintenance. The server doesn't have a sound device. The challenge is Kodi keeps checking for a sound device about twice a second and puts a pile of errors in the kodi.log. After a couple of days the log gets huge (>500MB).
2021-08-17 19:22:13.865 T:7548 ERROR: CAESinkDirectSound::GetDefaultDevice: Retrival of audio endpoint enumeration failed. - HRESULT = -2147023728 ErrorMessage = (null)
2021-08-17 19:22:13.865 T:7548 ERROR: CAESinkDirectSound::Initialize: Failed to create the DirectSound device with error DSERR_NODRIVER, trying the default device.
2021-08-17 19:22:13.865 T:7548 ERROR: CAESinkDirectSound::Initialize: Failed to create the default DirectSound device with error DSERR_NODRIVER.
2021-08-17 19:22:13.865 T:7548 ERROR: CActiveAESink::OpenSink - no sink was returned
2021-08-17 19:22:13.865 T:1756 ERROR: ActiveAE::ActiveAE::CActiveAE::InitSink - returned error
It also makes the log very noisy when I'm trying to solve problems that actually matter.
Does anyone have a suggestion on how to stop it from trying to find an audi endpoint all together?
Thanks,
Jim
2021-08-17 19:22:13.865 T:7548 ERROR: CAESinkDirectSound::GetDefaultDevice: Retrival of audio endpoint enumeration failed. - HRESULT = -2147023728 ErrorMessage = (null)
2021-08-17 19:22:13.865 T:7548 ERROR: CAESinkDirectSound::Initialize: Failed to create the DirectSound device with error DSERR_NODRIVER, trying the default device.
2021-08-17 19:22:13.865 T:7548 ERROR: CAESinkDirectSound::Initialize: Failed to create the default DirectSound device with error DSERR_NODRIVER.
2021-08-17 19:22:13.865 T:7548 ERROR: CActiveAESink::OpenSink - no sink was returned
2021-08-17 19:22:13.865 T:1756 ERROR: ActiveAE::ActiveAE::CActiveAE::InitSink - returned error
It also makes the log very noisy when I'm trying to solve problems that actually matter.
Does anyone have a suggestion on how to stop it from trying to find an audi endpoint all together?
Thanks,
Jim