Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10670/src
Modified Files: Tag: devel_0_37 s_audio_asio.cpp Log Message: A bit more comfortable error reporting.
Index: s_audio_asio.cpp =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/s_audio_asio.cpp,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -C2 -d -r1.1.2.2 -r1.1.2.3 *** s_audio_asio.cpp 4 Nov 2004 21:42:59 -0000 1.1.2.2 --- s_audio_asio.cpp 4 Nov 2004 23:28:25 -0000 1.1.2.3 *************** *** 155,159 **** post("driverversion: %d", asio_driver->driverVersion); post("name: %s", asio_driver->name); ! post("error: %s", asio_driver->errorMessage); #endif
--- 155,159 ---- post("driverversion: %d", asio_driver->driverVersion); post("name: %s", asio_driver->name); ! if(status) post("error: %s", asio_driver->errorMessage); #endif
*************** *** 570,574 **** case ASIOSTInt32MSB20: // 32 bit data with 20 bit alignment case ASIOSTInt32MSB24: // 32 bit data with 24 bit alignment ! post("Sample Type %d not supported, yet"); } } --- 570,580 ---- case ASIOSTInt32MSB20: // 32 bit data with 20 bit alignment case ASIOSTInt32MSB24: // 32 bit data with 24 bit alignment ! { ! static int written = 0; ! if(written < 3) { ! post("Output sample Type %d not supported, yet!!!",format); ! ++written; ! } ! } } } *************** *** 616,620 **** case ASIOSTInt32MSB20: // 32 bit data with 20 bit alignment case ASIOSTInt32MSB24: // 32 bit data with 24 bit alignment ! post("Sample Type %d not supported, yet"); }
--- 622,632 ---- case ASIOSTInt32MSB20: // 32 bit data with 20 bit alignment case ASIOSTInt32MSB24: // 32 bit data with 24 bit alignment ! { ! static int written = 0; ! if(written < 3) { ! post("Input sample Type %d not supported, yet!!!",format); ! ++written; ! } ! } }