Xeno-rat
Loading...
Searching...
No Matches
NAudio.CoreAudioApi Namespace Reference

Namespaces

namespace  Interfaces
 

Classes

class  AudioCaptureClient
 Audio Capture Client. More...
 
class  AudioClient
 Windows CoreAudio AudioClient. More...
 
struct  AudioClientActivationParams
 AUDIOCLIENT_ACTIVATION_PARAMS https://docs.microsoft.com/en-us/windows/win32/api/audioclientactivationparams/ns-audioclientactivationparams-audioclient_activation_params. More...
 
struct  AudioClientProcessLoopbackParams
 AUDIOCLIENT_PROCESS_LOOPBACK_PARAMS https://docs.microsoft.com/en-us/windows/win32/api/audioclientactivationparams/ns-audioclientactivationparams-audioclient_process_loopback_params. More...
 
struct  AudioClientProperties
 The AudioClientProperties structure is used to set the parameters that describe the properties of the client's audio stream. More...
 
class  AudioClockClient
 Audio Clock Client. More...
 
class  AudioEndpointVolume
 Audio Endpoint Volume. More...
 
class  AudioEndpointVolumeCallback
 
class  AudioEndpointVolumeChannel
 Audio Endpoint Volume Channel. More...
 
class  AudioEndpointVolumeChannels
 Audio Endpoint Volume Channels. More...
 
class  AudioEndpointVolumeStepInformation
 Audio Endpoint Volume Step Information. More...
 
class  AudioEndpointVolumeVolumeRange
 Audio Endpoint Volume Volume Range. More...
 
class  AudioMeterInformation
 Audio Meter Information. More...
 
class  AudioMeterInformationChannels
 Audio Meter Information Channels. More...
 
class  AudioRenderClient
 Audio Render Client. More...
 
class  AudioSessionControl
 AudioSessionControl object for information regarding an audio session. More...
 
class  AudioSessionEventsCallback
 AudioSessionEvents callback implementation. More...
 
class  AudioSessionManager
 AudioSessionManager. More...
 
class  AudioSessionNotification
 
class  AudioStreamVolume
 Manages the AudioStreamVolume for the AudioClient. More...
 
class  AudioVolumeNotificationData
 Audio Volume Notification Data. More...
 
class  Connector
 Connector. More...
 
class  DeviceTopology
 Windows CoreAudio DeviceTopology. More...
 
class  MMDevice
 MM Device. More...
 
class  MMDeviceCollection
 Multimedia Device Collection. More...
 
class  MMDeviceEnumerator
 MM Device Enumerator. More...
 
struct  PropertyKey
 PROPERTYKEY is defined in wtypes.h. More...
 
class  PropertyKeys
 Property Keys. More...
 
class  PropertyStore
 Property Store class, only supports reading properties at the moment. More...
 
class  PropertyStoreProperty
 Property Store Property. More...
 
class  SessionCollection
 Collection of sessions. More...
 
class  SimpleAudioVolume
 Windows CoreAudio SimpleAudioVolume. More...
 
class  WasapiCapture
 Audio Capture using Wasapi See http://msdn.microsoft.com/en-us/library/dd370800%28VS.85%29.aspx. More...
 

Enumerations

enum  CaptureState { Stopped , Starting , Capturing , Stopping }
 Represents state of a capture device. More...
 
enum  AudioClientBufferFlags { None , DataDiscontinuity = 0x1 , Silent = 0x2 , TimestampError = 0x4 }
 Audio Client Buffer Flags. More...
 
enum  AudioClientShareMode { Shared , Exclusive }
 AUDCLNT_SHAREMODE. More...
 
enum  AudioClientStreamFlags : uint {
  None , CrossProcess = 0x00010000 , Loopback = 0x00020000 , EventCallback = 0x00040000 ,
  NoPersist = 0x00080000 , RateAdjust = 0x00100000 , SrcDefaultQuality = 0x08000000 , AutoConvertPcm = 0x80000000
}
 AUDCLNT_STREAMFLAGS https://docs.microsoft.com/en-us/windows/win32/coreaudio/audclnt-streamflags-xxx-constants. More...
 
enum  ProcessLoopbackMode { IncludeTargetProcessTree , ExcludeTargetProcessTree }
 PROCESS_LOOPBACK_MODE https://docs.microsoft.com/en-us/windows/win32/api/audioclientactivationparams/ne-audioclientactivationparams-process_loopback_mode. More...
 
enum  AudioClientActivationType { Default , ProcessLoopback }
 AUDIOCLIENT_ACTIVATION_TYPE https://docs.microsoft.com/en-us/windows/win32/api/audioclientactivationparams/ne-audioclientactivationparams-audioclient_activation_type. More...
 
enum  AudioClientStreamOptions { None = 0 , Raw = 0x1 , MatchFormat = 0x2 , Ambisonics = 0x4 }
 Defines values that describe the characteristics of an audio stream. AUDCLNT_STREAMOPTIONS https://docs.microsoft.com/en-us/windows/win32/api/audioclient/ne-audioclient-audclnt_streamoptions. More...
 
enum  AudioStreamCategory {
  Other = 0 , ForegroundOnlyMedia , BackgroundCapableMedia , Communications ,
  Alerts , SoundEffects , GameEffects , GameMedia ,
  GameChat , Speech , Movie , Media ,
  FarFieldSpeech , UniformSpeech , VoiceTyping
}
 Specifies the category of an audio stream. https://docs.microsoft.com/en-us/windows/win32/api/audiosessiontypes/ne-audiosessiontypes-audio_stream_category AUDIO_STREAM_CATEGORY. More...
 
enum  ConnectorType {
  UnknownConnector , PhysicalInternal , PhysicalExternal , SoftwareIo ,
  SoftwareFixed , Network
}
 Connector Type. More...
 
enum  DataFlow { Render , Capture , All }
 The EDataFlow enumeration defines constants that indicate the direction in which audio data flows between an audio endpoint device and an application. More...
 
enum  DeviceState {
  Active = 0x00000001 , Disabled = 0x00000002 , NotPresent = 0x00000004 , Unplugged = 0x00000008 ,
  All = 0x0000000F
}
 Device State. More...
 
enum  EEndpointHardwareSupport { Volume = 0x00000001 , Mute = 0x00000002 , Meter = 0x00000004 }
 Endpoint Hardware Support. More...
 
enum  Role { Console , Multimedia , Communications }
 The ERole enumeration defines constants that indicate the role that the system has assigned to an audio endpoint device. More...
 

Functions

delegate void AudioEndpointVolumeNotificationDelegate (AudioVolumeNotificationData data)
 Audio Endpoint Volume Notifiaction Delegate.
 

Enumeration Type Documentation

◆ AudioClientActivationType

AUDIOCLIENT_ACTIVATION_TYPE https://docs.microsoft.com/en-us/windows/win32/api/audioclientactivationparams/ne-audioclientactivationparams-audioclient_activation_type.

Enumerator
Default 

AUDIOCLIENT_ACTIVATION_TYPE_DEFAULT Default activation.

ProcessLoopback 

AUDIOCLIENT_ACTIVATION_TYPE_PROCESS_LOOPBACK Process loopback activation, allowing for the inclusion or exclusion of audio rendered by the specified process and its child processes.

◆ AudioClientBufferFlags

Audio Client Buffer Flags.

Enumerator
None 

None.

DataDiscontinuity 

AUDCLNT_BUFFERFLAGS_DATA_DISCONTINUITY.

Silent 

AUDCLNT_BUFFERFLAGS_SILENT.

TimestampError 

AUDCLNT_BUFFERFLAGS_TIMESTAMP_ERROR.

◆ AudioClientShareMode

AUDCLNT_SHAREMODE.

Enumerator
Shared 

AUDCLNT_SHAREMODE_SHARED,.

Exclusive 

AUDCLNT_SHAREMODE_EXCLUSIVE.

◆ AudioClientStreamFlags

AUDCLNT_STREAMFLAGS https://docs.microsoft.com/en-us/windows/win32/coreaudio/audclnt-streamflags-xxx-constants.

Enumerator
None 

None.

CrossProcess 

AUDCLNT_STREAMFLAGS_CROSSPROCESS The audio stream will be a member of a cross-process audio session.

Loopback 

AUDCLNT_STREAMFLAGS_LOOPBACK The audio stream will operate in loopback mode.

EventCallback 

AUDCLNT_STREAMFLAGS_EVENTCALLBACK Processing of the audio buffer by the client will be event driven.

NoPersist 

AUDCLNT_STREAMFLAGS_NOPERSIST
The volume and mute settings for an audio session will not persist across application restarts.

RateAdjust 

AUDCLNT_STREAMFLAGS_RATEADJUST The sample rate of the stream is adjusted to a rate specified by an application.

SrcDefaultQuality 

AUDCLNT_STREAMFLAGS_SRC_DEFAULT_QUALITY When used with AUDCLNT_STREAMFLAGS_AUTOCONVERTPCM, a sample rate converter with better quality than the default conversion but with a higher performance cost is used. This should be used if the audio is ultimately intended to be heard by humans as opposed to other scenarios such as pumping silence or populating a meter.

AutoConvertPcm 

AUDCLNT_STREAMFLAGS_AUTOCONVERTPCM A channel matrixer and a sample rate converter are inserted as necessary to convert between the uncompressed format supplied to IAudioClient::Initialize and the audio engine mix format.

◆ AudioClientStreamOptions

Defines values that describe the characteristics of an audio stream. AUDCLNT_STREAMOPTIONS https://docs.microsoft.com/en-us/windows/win32/api/audioclient/ne-audioclient-audclnt_streamoptions.

Enumerator
None 

AUDCLNT_STREAMOPTIONS_NONE No stream options.

Raw 

AUDCLNT_STREAMOPTIONS_RAW The audio stream is a 'raw' stream that bypasses all signal processing except for endpoint specific, always-on processing in the APO, driver, and hardware.

MatchFormat 

AUDCLNT_STREAMOPTIONS_MATCH_FORMAT The audio client is requesting that the audio engine match the format proposed by the client. The audio engine will match this format only if the format is supported by the audio driver and associated APOs.

Ambisonics 

AUDCLNT_STREAMOPTIONS_AMBISONICS.

◆ AudioStreamCategory

Specifies the category of an audio stream. https://docs.microsoft.com/en-us/windows/win32/api/audiosessiontypes/ne-audiosessiontypes-audio_stream_category AUDIO_STREAM_CATEGORY.

Enumerator
Other 

Other audio stream.

ForegroundOnlyMedia 

Media that will only stream when the app is in the foreground.

BackgroundCapableMedia 

Media that can be streamed when the app is in the background.

Communications 

Real-time communications, such as VOIP or chat.

Alerts 

Alert sounds.

SoundEffects 

Sound effects.

GameEffects 

Game sound effects.

GameMedia 

Background audio for games.

GameChat 

Game chat audio. Similar to AudioCategory_Communications except that AudioCategory_GameChat will not attenuate other streams.

Speech 

Speech.

Movie 

Stream that includes audio with dialog.

Media 

Stream that includes audio without dialog.

FarFieldSpeech 

Media is audio captured with the intent of capturing voice sources located in the ‘far field’. (Far away from the microphone.)

UniformSpeech 

Media is captured audio that requires consistent speech processing for the captured audio stream across all Windows devices. Used by applications that process speech data using machine learning algorithms.

VoiceTyping 

Media is audio captured with the intent of enabling dictation or typing by voice.

◆ CaptureState

Represents state of a capture device.

Enumerator
Stopped 

Not recording.

Starting 

Beginning to record.

Capturing 

Recording in progress.

Stopping 

Requesting stop.

◆ ConnectorType

Connector Type.

Enumerator
UnknownConnector 

The connector is part of a connection of unknown type.

PhysicalInternal 

The connector is part of a physical connection to an auxiliary device that is installed inside the system chassis.

PhysicalExternal 

The connector is part of a physical connection to an external device.

SoftwareIo 

The connector is part of a software-configured I/O connection (typically a DMA channel) between system memory and an audio hardware device on an audio adapter.

SoftwareFixed 

The connector is part of a permanent connection that is fixed and cannot be configured under software control.

Network 

The connector is part of a connection to a network.

◆ DataFlow

The EDataFlow enumeration defines constants that indicate the direction in which audio data flows between an audio endpoint device and an application.

Enumerator
Render 

Audio rendering stream. Audio data flows from the application to the audio endpoint device, which renders the stream.

Capture 

Audio capture stream. Audio data flows from the audio endpoint device that captures the stream, to the application.

All 

Audio rendering or capture stream. Audio data can flow either from the application to the audio endpoint device, or from the audio endpoint device to the application.

◆ DeviceState

Device State.

Enumerator
Active 

DEVICE_STATE_ACTIVE.

Disabled 

DEVICE_STATE_DISABLED.

NotPresent 

DEVICE_STATE_NOTPRESENT.

Unplugged 

DEVICE_STATE_UNPLUGGED.

All 

DEVICE_STATEMASK_ALL.

◆ EEndpointHardwareSupport

Endpoint Hardware Support.

Enumerator
Volume 

Volume.

Mute 

Mute.

Meter 

Meter.

◆ ProcessLoopbackMode

PROCESS_LOOPBACK_MODE https://docs.microsoft.com/en-us/windows/win32/api/audioclientactivationparams/ne-audioclientactivationparams-process_loopback_mode.

Enumerator
IncludeTargetProcessTree 

PROCESS_LOOPBACK_MODE_INCLUDE_TARGET_PROCESS_TREE Render streams from the specified process and its child processes are included in the activated process loopback stream.

ExcludeTargetProcessTree 

PROCESS_LOOPBACK_MODE_EXCLUDE_TARGET_PROCESS_TREE Render streams from the specified process and its child processes are excluded from the activated process loopback stream.

◆ Role

The ERole enumeration defines constants that indicate the role that the system has assigned to an audio endpoint device.

Enumerator
Console 

Games, system notification sounds, and voice commands.

Multimedia 

Music, movies, narration, and live music recording.

Communications 

Voice communications (talking to another person).

Function Documentation

◆ AudioEndpointVolumeNotificationDelegate()

delegate void NAudio.CoreAudioApi.AudioEndpointVolumeNotificationDelegate ( AudioVolumeNotificationData data)

Audio Endpoint Volume Notifiaction Delegate.

Parameters
dataAudio Volume Notification Data