Share via


AudioDeviceRole

July 21, 2014

Applies to: Windows Phone 8 and Windows Phone Silverlight 8.1 only

Indicates the role of an audio interface.

enum AudioDeviceRole { 
Default, 
Communications 
};

Constants

Default

General purpose audio client with default priority.

Communications

VoIP audio client.

Remarks

Warning

Your application must have the ID_CAP_MICROPHONE in order to capture audio. Your application must have the ID_CAP_VOIP capability and use the Communications audio device role in order to render or capture audio in the background or to mute or pause lower-priority audio streams during playback. For more information on capabilities, see App capabilities and hardware requirements for Windows Phone 8.

Requirements

Minimum supported phone

Windows Phone 8

Header

phoneaudioclient.h

Static library

Phoneaudioses.lib

Runtime library

Phoneaudioses.dll