Kodi Community Forum

Full Version: Strange coreaudiod AirPlay errors
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have XBMC Frodo (12.0 Git:20130127-fb595f2) running on my Mac Mini (10.8.2) and notice that any time I shut off my Apple TV (or it goes to sleep on its own) the Mac Mini's log file (system.log) becomes filled with lines like this:

Quote: coreaudiod[160]: 2013-03-02 05:50:30.237088 PM [AirPlay] ### Audio send error: 61/0x3D
coreaudiod[160]: 2013-03-02 05:50:31.287756 PM [AirPlay] ### Audio send error: 61/0x3D
coreaudiod[160]: 2013-03-02 05:50:32.119288 PM [AirPlay] ### Endpoint 'Apple TV' keep-alive error: -6753/0xFFFFFFFFFFFFE59F
coreaudiod[160]: 2013-03-02 05:50:32.119429 PM [AirPlay] ### Error with endpoint 'Apple TV': -6753/0xFFFFFFFFFFFFE59F
coreaudiod[160]: 2013-03-02 05:50:32.119530 PM [AirPlay] Quiescing device 'Apple TV'
SystemUIServer[626]: 2013-03-02 05:50:32.119683 PM [AVSystemController] ### Quiesce AirPlay
AirPlayUIAgent[6319]: 2013-03-02 05:50:32.119693 PM [AVSystemController] ### Quiesce AirPlay
SystemUIServer[626]: 2013-03-02 05:50:32.122866 PM [AVSystemController] ### Quiesce AirPlay
AirPlayUIAgent[6319]: 2013-03-02 05:50:32.130632 PM [AVSystemController] ### Quiesce AirPlay
coreaudiod[160]: 2013-03-02 05:50:32.918781 PM [AirPlay] ### Audio send error: 61/0x3D
coreaudiod[160]: 2013-03-02 05:50:34.922604 PM [AirPlay] ### Audio send error: 61/0x3D
coreaudiod[160]: 2013-03-02 05:50:35.972331 PM [AirPlay] ### Audio send error: 61/0x3D
coreaudiod[160]: 2013-03-02 05:50:37.236388 PM [AirPlay] ### Endpoint 'Apple TV' keep-alive error: 32/0x20

The system gets quite busy since the log file fills up, gets rotated, fills up, gets rotated, ad infinitum.

Turning the Apple TV back on doesn't help. I have to exit XBMC to stop the log messages. Note: XBMC isn't running on the Apple TV - just on the Mac Mini.

Anyone have a clue what is going on here?

Thanks.
I have been having this problem as well since upgrading to Frodo.

OSX version = 10.8.2.

Whilst watching a video, the sound suddenly goes away and the OSX log file starts getting the entries above:

3/03/13 10:54:53.615 AM coreaudiod[120]: 2013-03-03 10:54:53.614992 AM [AirPlay] ### Audio send error: 61/0x3D

Also, when this happens, AirPlay mirroring seems to get stuck as I cannot turn off AirPlay mirroring until I have shut down XBMC.

Here is what is being logged by XBMC at the time of the sound crash:
10:55:16 T:4649914368 ERROR: CCoreAudioDevice::SupportsMixing: Device mixing support : 'No'.
10:55:16 T:4649914368 ERROR: Previous line repeats 1 times.
10:55:16 T:4649914368 ERROR: CCoreAudioDevice::SetNominalSampleRate: Unable to set current device sample rate to 48000. Error = 'unop'
10:55:31 T:140735261536640 ERROR: CCoreAudioDevice::SupportsMixing: Device mixing support : 'No'.
10:55:36 T:4649914368 ERROR: Previous line repeats 1 times.
10:55:36 T:4649914368 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
10:55:37 T:140735261536640 ERROR: CCoreAudioDevice::SupportsMixing: Device mixing support : 'No'.
10:55:37 T:140735261536640 ERROR: Previous line repeats 1 times.
10:55:37 T:140735261536640 ERROR: CCoreAudioDevice::SetNominalSampleRate: Unable to set current device sample rate to 48000. Error = 'unop'
10:55:41 T:4649914368 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
10:55:41 T:4649914368 ERROR: AddPackets - failed to add leftover bytes to render
10:55:43 T:4649914368 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
10:55:47 T:4649914368 ERROR: Previous line repeats 1 times.
10:55:47 T:4649914368 ERROR: AddPackets - failed to add leftover bytes to render
10:55:49 T:4649914368 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
10:56:01 T:4649914368 ERROR: Previous line repeats 2 times.
10:56:01 T:4649914368 ERROR: AddPackets - failed to add leftover bytes to render
10:56:27 T:140735261536640 ERROR: CCoreAudioDevice::SupportsMixing: Device mixing support : 'No'.
10:56:51 T:4649914368 ERROR: Previous line repeats 1 times.
10:56:51 T:4649914368 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
Should be fixed in nightlies and will be fixed in the 12.1 bug fix release (coming soon), IIRC. Basically, the Macs are switching the output device to AirPlay audio for some reason when they sleep or something like that.