+ /// Retrieve the index of the default output device. The result can be
+ /// used in the outputDevice parameter to Pa_OpenStream().
+ ///
+ /// @return The default output device index for the default host API, or paNoDevice
+ /// if no default output device is available or an error was encountered.
+ ///
+ /// @note
+ /// On the PC, the user can specify a default device by
+ /// setting an environment variable. For example, to use device #1.
+ ///
+ /// set PA_RECOMMENDED_OUTPUT_DEVICE=1
+ ///
+ /// The user should first determine the available device ids by using
+ /// the supplied application "pa_devs".
+ ///
+ public static DeviceIndex DefaultOutputDevice
+ {
+ get => Native.Pa_GetDefaultOutputDevice();
+ }
+
+ ///