How do I force AudioProcessing.Raw for audio capture while using the AudioGraph API?

barmaley 0 Reputation points
2023-10-20T18:30:11.93+00:00

I tried migrating my old, functional WASAPI code to the AudioGraph API, but ran into difficulty when forcing AudioGraph to capture RAW audio. The system automatically inserts effects like echo cancellation and noise reduction during capture, and it appears there's no way to disable them or force AudioProcessing.Raw mode for a capture stream. Does anyone know a solution?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,198 questions
Universal Windows Platform (UWP)
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,523 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,651 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,994 questions
{count} votes