[vlc-commits] aout: winstore: report the device in use
Steve Lhomme
git at videolan.org
Mon Jul 6 13:36:22 CEST 2020
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Jun 26 10:05:07 2020 +0200| [c4ad40650de9182923bc195af858ef8ba24c3130] | committer: Steve Lhomme
aout: winstore: report the device in use
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c4ad40650de9182923bc195af858ef8ba24c3130
---
modules/audio_output/winstore.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/modules/audio_output/winstore.c b/modules/audio_output/winstore.c
index a5a468f7da..021be7567f 100644
--- a/modules/audio_output/winstore.c
+++ b/modules/audio_output/winstore.c
@@ -162,6 +162,13 @@ static void WaitForAudioClient(audio_output_t *aout)
{
sys->acquired_device = wcsdup(devId);
+ char *report = FromWide(devId);
+ if (likely(report))
+ {
+ aout_DeviceReport(aout, report);
+ free(report);
+ }
+
IAudioClient2 *audioClient2;
if (SUCCEEDED(IAudioClient_QueryInterface(sys->client, &IID_IAudioClient2, (void**)&audioClient2))
&& audioClient2)
More information about the vlc-commits
mailing list