Permalink
Browse files

[SoftAE] Use new device types in Win32 sinks

  • Loading branch information...
1 parent f917e2c commit b9667677f3ca2a5719886cef76830963eb2b7f19 @Karlson2k committed Oct 17, 2012
@@ -75,17 +75,17 @@ struct winEndpointsToAEDeviceType
static const winEndpointsToAEDeviceType winEndpoints[EndpointFormFactor_enum_count] =
{
- {"Network Device - ", AE_DEVTYPE_PCM},
+ {"Network Device - ", AE_DEVTYPE_NETWORK},
{"Speakers - ", AE_DEVTYPE_PCM},
{"LineLevel - ", AE_DEVTYPE_PCM},
{"Headphones - ", AE_DEVTYPE_PCM},
{"Microphone - ", AE_DEVTYPE_PCM},
{"Headset - ", AE_DEVTYPE_PCM},
{"Handset - ", AE_DEVTYPE_PCM},
- {"Digital Passthrough - ", AE_DEVTYPE_IEC958},
+ {"Digital Passthrough - ", AE_DEVTYPE_DIGITALOUT},
{"SPDIF - ", AE_DEVTYPE_IEC958},
{"HDMI - ", AE_DEVTYPE_HDMI},
- {"Unknown - ", AE_DEVTYPE_PCM},
+ {"Unknown - ", AE_DEVTYPE_UNKNOWN},
};
// implemented in AESinkWASAPI.cpp
@@ -124,17 +124,17 @@ struct winEndpointsToAEDeviceType
static const winEndpointsToAEDeviceType winEndpoints[EndpointFormFactor_enum_count] =
{
- {"Network Device - ", AE_DEVTYPE_PCM},
+ {"Network Device - ", AE_DEVTYPE_NETWORK},
{"Speakers - ", AE_DEVTYPE_PCM},
{"LineLevel - ", AE_DEVTYPE_PCM},
{"Headphones - ", AE_DEVTYPE_PCM},
{"Microphone - ", AE_DEVTYPE_PCM},
{"Headset - ", AE_DEVTYPE_PCM},
{"Handset - ", AE_DEVTYPE_PCM},
- {"Digital Passthrough - ", AE_DEVTYPE_IEC958},
+ {"Digital Passthrough - ", AE_DEVTYPE_DIGITALOUT},
{"SPDIF - ", AE_DEVTYPE_IEC958},
{"HDMI - ", AE_DEVTYPE_HDMI},
- {"Unknown - ", AE_DEVTYPE_PCM},
+ {"Unknown - ", AE_DEVTYPE_UNKNOWN},
};
AEDeviceInfoList DeviceInfoList;

0 comments on commit b966767

Please sign in to comment.