question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DllNotFoundException: Msacm32.dll when I use NAudio in Unity of Mac OS

See original GitHub issue

Hi,

when I want to use NAudio to convert mp3 into wav, the error message jumped out on my Unity log window. The message is in the following lines.

DllNotFoundException: Msacm32.dll
NAudio.Wave.Compression.AcmStream.SuggestPcmFormat (NAudio.Wave.WaveFormat compressedFormat)
NAudio.Wave.AcmMp3FrameDecompressor..ctor (NAudio.Wave.WaveFormat sourceFormat)
NAudio.Wave.Mp3FileReader.CreateAcmFrameDecompressor (NAudio.Wave.WaveFormat mp3Format)
NAudio.Wave.Mp3FileReader..ctor (System.IO.Stream inputStream, NAudio.Wave.FrameDecompressorBuilder

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
velara3commented, May 14, 2021

From the comments above and no mention on the prerequisites page the library is not supported on Mac OSX?

0reactions
markheathcommented, Jul 28, 2023

Are you using WaveFormatConversionStream as well? If so, you don’t need to use that

Read more comments on GitHub >

github_iconTop Results From Across the Web

Questions in topic: "dllnotfoundexception"
I have been trying to use DllImport ("filename.dll") in C# Unity and found ... But I get exception on my Mac: DllNotFoundException: Msacm32.dll...
Read more >
dllnotfoundexception - Unity Answers
Use Unity to build high-quality 3D and 2D games, deploy them across mobile, desktop, ... DllNotFoundException on Mac OS X, only when Playing...
Read more >
DLL Issues on Mac OS
I am porting my project to Mac and have an issue with System.Drawing. The library must be present on the Mac somewhere...
Read more >
ASP.NET Core Web API Docker missing msacm32.dll ...
I suspect that the containerized Windows base image does not include multimedia APIs. The missing msacm32.dll is the DLL you use to access ......
Read more >
Task #6: Loading MP3 audio via WWW class in Unity3d
At first, download NAudio library, and copy NAudio.dll and NAudio. ... how to decide error DllNotFoundException: Msacm32.dll on Mac?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found