[ecasound] can ecasignalview monitor alsahw,1,0,0 ?

From: Junichi Uekawa <dancer@email-addr-hidden>
Date: Sat Oct 01 2005 - 20:13:28 EEST

Hi,

ecasignalview (or, ecatools) does not accept alsahw,1,0,0 for
monitoring, since it does not accept filenames with a comma.

However, I would really like to monitor alsa devices too.

A simple patch to remove the check would be the following:

===File 10_unprotect_filename_with_comma.dpatch===
#! /bin/sh /usr/share/dpatch/dpatch-run
## 10_unprotect_filename_with_comma.dpatch by Junichi Uekawa <dancer@email-addr-hidden>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad ecasound2.2-2.4.3~/ecatools/ecicpp_helpers.cpp ecasound2.2-2.4.3/ecatools/ecicpp_helpers.cpp
--- ecasound2.2-2.4.3~/ecatools/ecicpp_helpers.cpp 2005-03-17 08:38:35.000000000 +0900
+++ ecasound2.2-2.4.3/ecatools/ecicpp_helpers.cpp 2005-10-02 01:32:10.000000000 +0900
@@ -46,11 +46,6 @@
 
 int ecicpp_add_input(ECA_CONTROL_INTERFACE* eci, const string& filename, string* format)
 {
- if (filename.find(',') != string::npos) {
- cerr << "Error: Unable to handle filenames with commas. Exiting...\n";
- return -1;
- }
-
   eci->command("ai-add " + filename);
   bool error = eci->error();
   eci->command("ai-list");
============================================================

regards,
        junichi

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Mon Oct 3 04:15:06 2005

This archive was generated by hypermail 2.1.8 : Mon Oct 03 2005 - 04:15:06 EEST