Re: SoX with CoreAudio on Mac (bundled with Electron vs homebrew)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I need to make a SoX binary part of my ‘one click install’ of my Electron app on Mac. I know how to put that
binary in my Electron app and ensure the dmg uses it. Where I am stuck is making a binary that works as
needed.

It needs flac & mp3 support.

I am a software engineer by trade, but I’m not a C++ guy, so my naïve attempts to make it have thus far failed. 

`sox -t coreaudio "BlackHole 2ch” output.mp3`

If I run this command from Terminal, it works for the brew version of SoX, but not the binary downloaded from 
SourceForge or the binary I compiled from the SoX source.

In both the fail cases, it cannot find the BlackHole virtual audio devices. The brew version DOES find it. It
definitely is compiled with coreaudio support, which I confirmed with oTool.

I have libmp3lame.dylib & libmad.dylib so I did LTDL_LIBRARY_PATH to the dylibs. 

Can anyone help me with the correct directives for LDFLAGS, CPPFLAGS, & ./configure ?

I am open to paying for this help if the cost fits my budget.

Thanks!

Andre



_______________________________________________
Sox-users mailing list
Sox-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sox-users

[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux