|
From: Chris B. <ch...@cn...> - 2008-01-21 03:08:55
|
Thats the key thing... If we can borrow some code from an existing program that compiles with mingw then it would be pretty easy to write a driver to write directly to windows audio device. I'll keep those to suggestions in mind... I'll look into both TiMidity++ and SDL and see how easy it would be to port any existing windows drivers. Anybody know of other programs with Windows audio drivers that compile with mingw? Chris D. S. wrote: > I wonder if ... you couldn't have your cake and eat it too with mingw. > Maybe through the use of something like TiMidity++'s Windows MMS > configure option --enable-audio=w32 ... or does anyone know if the > SDL_mixer lib can produce audio output with mingw? > > > On Jan 20, 2008 3:33 PM, Chris Bagwell <ch...@cn...> wrote: > >> robs wrote: >> >>> --- Andrzej <an...@ga...> wrote: >>> >>> >>> >>>> I'm no too technical so I'm not shure if I >>>> understand you completely, but >>>> I'd very much prefer a consistent EXE file without >>>> the need of additional >>>> DLLs. >>>> >>>> >>> IIRC, all you need to do in windows is drop an exe and >>> any accompanying dlls into a "utils" folder, make sure >>> this folder is in the PATH, and you're done. >>> >>> >>> >>> >> Yes, its not to bad to work with as Rob mentions. But still its nice to >> be able to stick sox.exe anywhere and just executed it as >> c:\path\to\sox.exe. With cygwin version you have to create a util >> directory and place that in your path... >> >> And you'll have to manage the DLL's yourself. For example, I hope to >> get rid of the OGG and FLAC DLL's and link those in statically soon. >> If I'm able to do this, during an upgrade you'll have to notice that >> yourself and delete them manually. >> >> Playing and recording from command line (think automated recordings of >> shoutcast streams) is a pretty nice feature to have on Windows. So I'm >> curious of peoples opinions if the (small?) negative outweighs the >> benefits. >> >> If SoX ever gets a native windows audio driver then I could stick with >> mingw compiler; and thus a single sox.exe file to distribute. Hopefully >> that will happen in a future release. In case people were wondering, >> Cygwin emulates a Linux audio device and allows us to use the Linux >> audio driver on Windows. >> >> Chris >> >> >> |