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