AE: convert all strings DirectSound to uppercase
authorRainer Hochecker <fernetmenta@online.de>
Tue, 18 Feb 2014 17:11:41 +0000 (18:11 +0100)
committerfritsch <Peter.Fruehberger@gmail.com>
Tue, 18 Feb 2014 18:21:18 +0000 (19:21 +0100)
system/settings/win32.xml
xbmc/cores/AudioEngine/Sinks/AESinkDirectSound.cpp
xbmc/cores/AudioEngine/Sinks/AESinkDirectSound.h

index fce8da1..987f974 100644 (file)
@@ -48,7 +48,7 @@
       <group id="1">
         <setting id="audiooutput.audiodevice" type="string" label="545" help="36371">
           <level>1</level>
-          <default>DirectSound:default</default>
+          <default>DIRECTSOUND:default</default>
           <constraints>
             <options>audiodevices</options>
           </constraints>
@@ -58,7 +58,7 @@
       <group id="3">
         <setting id="audiooutput.passthroughdevice" type="string" label="546" help="36372">
           <level>2</level>
-          <default>DirectSound:default</default>
+          <default>DIRECTSOUND:default</default>
           <constraints>
             <options>audiodevicespassthrough</options>
           </constraints>
index 98bf6d9..a3f0bf2 100644 (file)
@@ -564,7 +564,7 @@ void CAESinkDirectSound::EnumerateDevicesEx(AEDeviceInfoList &deviceInfoList, bo
 
     deviceInfo.m_deviceName       = strDevName;
     deviceInfo.m_displayName      = strWinDevType.append(strFriendlyName);
-    deviceInfo.m_displayNameExtra = std::string("DirectSound: ").append(strFriendlyName);
+    deviceInfo.m_displayNameExtra = std::string("DIRECTSOUND: ").append(strFriendlyName);
     deviceInfo.m_deviceType       = aeDeviceType;
 
     deviceInfoList.push_back(deviceInfo);
index 417a151..2564e54 100644 (file)
@@ -29,7 +29,7 @@
 class CAESinkDirectSound : public IAESink
 {
 public:
-  virtual const char *GetName() { return "DirectSound"; }
+  virtual const char *GetName() { return "DIRECTSOUND"; }
 
   CAESinkDirectSound();
   virtual ~CAESinkDirectSound();