Table of Contents

Class Process

Namespace
NAudio.MacOS.CoreAudio
Assembly
NAudio.MacOS.dll

The Process class contains information about a client process connected to the HAL.

public sealed class Process : AudioObject, IEquatable<AudioObject>, IEqualityOperators<AudioObject, AudioObject, bool>
Inheritance
Process
Implements
Inherited Members

Properties

BundleID

A string that contains the bundle ID of the process.

public string BundleID { get; }

Property Value

string

IsRunning

A bool where a value of false indicates that the process is not running any IO or there is not any active input streams, and a value of true indicates that the process is running IO and there is at least one active input stream.

public bool IsRunning { get; }

Property Value

bool

IsRunningInput

A bool where a value of false indicates that the process is not running any IO or there is not any active input streams, and a value of true indicates that the process is running IO and there is at least one active input stream.

public bool IsRunningInput { get; }

Property Value

bool

IsRunningOutput

A bool where a value of false indicates that the process is not running any IO or there is not any active output streams, and a value of true indicates that the process is running IO and there is at least one active output stream.

public bool IsRunningOutput { get; }

Property Value

bool

PID

A pid indicating the process ID associated with the process.

public int PID { get; }

Property Value

int

Methods

GetDevices(AudioObjectPropertyScope)

An array of AudioDevices that represent the devices currently used by the process for input or used by the process for output. The scope will select the input or output device list.

public AudioDevice[] GetDevices(AudioObjectPropertyScope scope)

Parameters

scope AudioObjectPropertyScope

Returns

AudioDevice[]