简体   繁体   中英

C# - Read data in from audio jack - Universal windows 10

I have such a problem that i want to read in data from audio jack in windows 10 and windows 10 mobile. So, it should be universal app.

I have found it's possible in Windows phone 8 with AudioRoutingManager API or in C++ apps with NAudio API or something. At the moment is a bit hard to find right libabries etc when there are so many versions of OS and application models.

How i could read in signal/data in universal 10 apps? I guess I'll need maybe VOIP API or some audio record API?

Related threads:

Create audio endpoint device - windows phone 8

Windows phone audio endpoint device

Jack sensing in C sharp

I've proceeded a little with this.

First I checked tutorial for recording Audio recorder in windows and then searched the correct device with DeviceInformation class .

Currently the app shows a list of all devices in the UI and a user selects the correct one. Then it allows user to record audio and play it.

Thanks for helping LibertyLocked

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM