Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2628
Modified Files: Tag: devel_0_39 s_main.c Log Message: show all APIs in "pd -help", telling the user when something is not compiled in.
Index: s_main.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_main.c,v retrieving revision 1.7.4.17.2.18 retrieving revision 1.7.4.17.2.19 diff -C2 -d -r1.7.4.17.2.18 -r1.7.4.17.2.19 *** s_main.c 23 Nov 2006 06:06:18 -0000 1.7.4.17.2.18 --- s_main.c 23 Nov 2006 14:51:29 -0000 1.7.4.17.2.19 *************** *** 423,429 **** "-listdev -- list audio and MIDI devices\n",
#ifdef USEAPI_OSS "-oss -- use OSS audio API\n", ! "-32bit ----- allow 32 bit OSS audio (for RME Hammerfall)\n", #endif
--- 423,434 ---- "-listdev -- list audio and MIDI devices\n",
+ #define NOT_HERE "(support not compiled in)" + #ifdef USEAPI_OSS "-oss -- use OSS audio API\n", ! "-32bit ---- allow 32 bit OSS audio (for RME Hammerfall)\n", ! #else ! "-oss -- OSS "NOT_HERE"\n", ! "-32bit ---- allow 32 bit OSS audio "NOT_HERE"\n", #endif
*************** *** 431,453 **** "-alsa -- use ALSA audio API\n", "-alsaadd <name> -- add an ALSA device name to list\n", #endif
#ifdef USEAPI_JACK "-jack -- use JACK audio API\n", #endif
#ifdef USEAPI_ASIO "-asio_native -- use native ASIO API\n", #endif
#ifdef USEAPI_PORTAUDIO "-pa -- use Portaudio API\n", - #ifdef MSW "-asio -- synonym for -pa - use ASIO via Portaudio\n", ! #endif #endif
#ifdef USEAPI_MMIO "-mmio -- use MMIO audio API\n", #endif #ifdef API_DEFSTRING --- 436,468 ---- "-alsa -- use ALSA audio API\n", "-alsaadd <name> -- add an ALSA device name to list\n", + #else + "-alsa -- use ALSA audio API "NOT_HERE"\n", + "-alsaadd <name> -- add an ALSA device name to list "NOT_HERE"\n", #endif
#ifdef USEAPI_JACK "-jack -- use JACK audio API\n", + #else + "-jack -- use JACK audio API "NOT_HERE"\n", #endif
#ifdef USEAPI_ASIO "-asio_native -- use native ASIO API\n", + #else + "-asio_native -- use native ASIO API "NOT_HERE"\n", #endif
#ifdef USEAPI_PORTAUDIO "-pa -- use Portaudio API\n", "-asio -- synonym for -pa - use ASIO via Portaudio\n", ! #else ! "-pa -- use Portaudio API "NOT_HERE"\n", ! "-asio -- synonym for -pa - use ASIO via Portaudio "NOT_HERE"\n", #endif
#ifdef USEAPI_MMIO "-mmio -- use MMIO audio API\n", + #else + "-mmio -- use MMIO audio API "NOT_HERE"\n", #endif #ifdef API_DEFSTRING *************** *** 464,467 **** --- 479,484 ---- #ifdef USEAPI_ALSA "-alsamidi -- use ALSA midi API\n", + #else + "-alsamidi -- use ALSA midi API "NOT_HERE"\n", #endif
*************** *** 488,491 **** --- 505,511 ---- "-rt or -realtime -- use real-time priority\n", "-nrt -- don't use real-time priority\n", + #else + "-rt or -realtime -- use real-time priority "NOT_HERE"\n", + "-nrt -- don't use real-time priority "NOT_HERE"\n", #endif };