Example #1
0
 internal static extern AudioManagerError IsStreamOnDevice(AudioStreamPolicyHandle streamInfo, int deviceId,
                                                           out bool isOn);
Example #2
0
 internal static extern AudioManagerError GetFocusReacquisition(AudioStreamPolicyHandle streamInfo,
                                                                out bool enabled);
Example #3
0
 internal static extern AudioManagerError GetSoundType(AudioStreamPolicyHandle streamInfo,
                                                       out AudioVolumeType soundType);
Example #4
0
 internal static extern AudioManagerError ReleaseFocus(AudioStreamPolicyHandle streamInfo,
                                                       AudioStreamFocusOptions focusMask, AudioStreamBehaviors audioStreamBehavior, string extraInfo);
Example #5
0
 internal static extern int GetFocusState(AudioStreamPolicyHandle streamInfo,
                                          out AudioStreamFocusState stateForPlayback, out AudioStreamFocusState stateForRecording);
Example #6
0
 internal static extern AudioManagerError ApplyStreamRouting(AudioStreamPolicyHandle streamInfo);
Example #7
0
 internal static extern AudioManagerError RemoveDeviceForStreamRouting(
     AudioStreamPolicyHandle streamInfo, int device);
Example #8
0
 internal static extern AudioManagerError Create(AudioStreamType streamType,
                                                 FocusStateChangedCallback callback, IntPtr userData, out AudioStreamPolicyHandle streamInfo);
Example #9
0
 internal static extern AudioManagerError GetPreferredDevice(AudioStreamPolicyHandle streamInfo, out int inDeviceId, out int outDeviceId);
Example #10
0
 internal static extern AudioManagerError SetPreferredDevice(AudioStreamPolicyHandle streamInfo, AudioDeviceIoDirection direction, int deviceId);