# HG changeset patch # User ib # Date 1395751735 0 # Node ID a4d31f0261afdb250537ba973141ed566baa7c17 # Parent 4fa7293b11fc52551ac9962d34a4e75ac09bc705 Output symbol character 'r' for AudioPassthrough. This may not always be true, but certainly in most cases. diff -r 4fa7293b11fc -r a4d31f0261af gui/ui/render.c --- a/gui/ui/render.c Tue Mar 25 12:41:35 2014 +0000 +++ b/gui/ui/render.c Tue Mar 25 12:48:55 2014 +0000 @@ -202,7 +202,7 @@ break; case 2: - av_strlcat(trbuf, "t", sizeof(trbuf)); + av_strlcat(trbuf, (guiInfo.AudioPassthrough ? "r" : "t"), sizeof(trbuf)); break; default: diff -r 4fa7293b11fc -r a4d31f0261af gui/win32/widgetrender.c --- a/gui/win32/widgetrender.c Tue Mar 25 12:41:35 2014 +0000 +++ b/gui/win32/widgetrender.c Tue Mar 25 12:48:55 2014 +0000 @@ -169,7 +169,7 @@ if(guiInfo.AudioChannels == 0) stringreplace(text, "$a", "n"); else if(guiInfo.AudioChannels == 1) stringreplace(text, "$a", "m"); - else if(guiInfo.AudioChannels == 2) stringreplace(text, "$a", "t"); + else if(guiInfo.AudioChannels == 2) stringreplace(text, "$a", (guiInfo.AudioPassthrough ? : "r": "t")); else stringreplace(text, "$a", "r"); if(guiInfo.StreamType == STREAMTYPE_FILE)