filoe / cscore

An advanced audio library, written in C#. Provides tons of features. From playing/recording audio to decoding/encoding audio streams/files to processing audio data in realtime (e.g. applying custom effects during playback, create visualizations,...). The possibilities are nearly unlimited.
Other
2.14k stars 450 forks source link

NotImplementedException while trying to Refresh devices (Reorder project in cscore) #460

Open atrivedisys opened 2 years ago

atrivedisys commented 2 years ago

Hi, I was trying with the cscore project and while running, its throwing an exception ''The method or operation is not implemented" when I hit 'Refresh Devices' button on Recorder project. (Please refer screenshot). Not able to understand the reason as not able to find any other ways. refresh_device interopCalls_cs Any help or guidance please.

filoe commented 2 years ago

Seems like the post build process was not completed successfully.

Am 02.09.2021 um 17:02 schrieb atrivedisys @.***>:

 Hi, I was trying with the cscore project and while running, its throwing an exception ''The method or operation is not implemented" when I hit 'Refresh Devices' button on Recorder project. (Please refer screenshot). Not able to understand the reason as not able to find any other ways. Seeking h

elp or any guidance please.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

phr00t commented 2 years ago

I got past this by modifying this file: CSCore/CSCore.csproj

Line 632 to:

  set sdk=%25PROGRAMFILES(x86)%25\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools

... it was using an old SDK for like 8.1. Rebuilt. Got some more errors, but it at least got passed the original error..