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

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

 



Not sure if this is related, but I long ago noticed that the Brew version of SoX on MacOS includes Opus read
support, which as far as I know is not in any other official SoX distribution/fork to date. (I would love to
be wrong, btw; I've not gotten round to working on this, but I would like Opus support on other platforms.)

This would seem to mean that the Brew SoX contains features not yet included elsewhere in SoX.

On Sun, Sep 22, 2024 at 11:07:50AM -0400, Andre Lockhart wrote:
   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


-- 
Doug Lee                 dgl@xxxxxxxx                http://www.dlee.org
"Sometimes I think my learning curve is a circle." -- David Andrews


_______________________________________________
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