Skip to content

MiniAudio not embedded in Nuget #7

@simstationfuchs

Description

@simstationfuchs

Hello,

I am looking forward using this project in my own application. Unfortunately I had a hard time compiling it using the Nuget package.
It seems as if miniAudio is not included/embedded as stated in the desciption (at least in the Nuget package).

I created a project targeting .Net 10 (I also tried .Net 9), installed the latest version of OwnAudioSharp (2.3.1 and updated today to 2.3.3).
When starting it states
"
PortAudio not found: Native library not found: libportaudio
Attempted paths:

  1. .NET runtime resolver (runtimes/win-x64/native/)
  2. Manual resolution: XXX\bin\Debug\net10.0\win-x64\runtimes\win-x64\native\libportaudio.dll
    Platform: win-x64
    Falling back to MiniAudio (bundled with application)
    Unhandled exception. System.DllNotFoundException: Native library not found: libminiaudio
    Attempted paths:
  3. .NET runtime resolver (runtimes/win-x64/native/)
  4. Manual resolution: XXX\bin\Debug\net10.0\win-x64\runtimes\win-x64\native\libminiaudio.dll
    "

When downloading the precompiled DLLs from this repository and including them in my project, I was able to run the application without problems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions