[vlc-commits] MMDevice: we need sys->dev for WinStore

Jean-Baptiste Kempf git at videolan.org
Fri Jan 31 12:51:49 CET 2014


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jan 31 12:50:45 2014 +0100| [d5e2c07e487321d25fb0510c332ffd89fd494df2] | committer: Jean-Baptiste Kempf

MMDevice: we need sys->dev for WinStore

Until we can split this code out :)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d5e2c07e487321d25fb0510c332ffd89fd494df2
---

 modules/audio_output/mmdevice.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/audio_output/mmdevice.c b/modules/audio_output/mmdevice.c
index 06f1892..e0ad99d 100644
--- a/modules/audio_output/mmdevice.c
+++ b/modules/audio_output/mmdevice.c
@@ -74,10 +74,10 @@ static wchar_t default_device[1] = L"";
 struct aout_sys_t
 {
     aout_stream_t *stream; /**< Underlying audio output stream */
+    IMMDevice *dev; /**< Selected output device, NULL if none */
 #if !VLC_WINSTORE_APP
     audio_output_t *aout;
     IMMDeviceEnumerator *it; /**< Device enumerator, NULL when exiting */
-    IMMDevice *dev; /**< Selected output device, NULL if none */
 
     struct IMMNotificationClient device_events;
     struct IAudioSessionEvents session_events;



More information about the vlc-commits mailing list