MrMC / mrmc

MrMC Main Repository - By using this code you agree to follow the GPLv2 license.
http://forum.mrmc.tv
Other
186 stars 68 forks source link

ATV AirPlay audio out quality issues #4

Closed dwhiffin closed 8 years ago

dwhiffin commented 8 years ago

When an AirPlay speaker is set as the audio output for the Apple TV, the audio quality is poor when playing music. There are obvious pops and crackles throughout the song.

MrMC commented 8 years ago

MrMC log ?

dwhiffin commented 8 years ago

http://pastebin.com/RwdesaaM

dwhiffin commented 8 years ago

Perhaps something to do with lines 214-217 in that log? AirPlay has a max sample rate of 44100 - I have this set as the max bitrate in MrMC (I've tried all the options as well with no change). Is it still trying to force 48000?

MrMC commented 8 years ago

enable debug logging might show more info.

dwhiffin commented 8 years ago

I did, I think. It is turned on line 93. Sorry if I'm misunderstanding.

dwhiffin commented 8 years ago

I have also some logs from Kodi tvos 30 December build which is before Memphiz pulled in some MrMC changes that caused later builds of Kodi tvos to have this same AirPlay issue. http://xbmclogs.com/pfoczzbdq So with these logs AirPlay is working nicely - I think line 42 and 1075-1077 are interesting as here sample rate 44100 is also availble (line 42) as it wasn't in MrMC and it is able to output using it (lines 1075-1077).

MrMC commented 8 years ago

interesting

dwhiffin commented 8 years ago

Seems to be fixed on version 1.3 from the TVOS App Store and logs suggest that 41k sample rate is working fine now. Well done!

MrMC commented 8 years ago

thanks, closing.