diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2003-04-22 02:38:13 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2003-04-22 02:38:13 +0000 |
commit | fcf490af444f26010c6ea950af9b5f4b36984ace (patch) | |
tree | 12bcf3ccea68268e422c0e0cc47da5821c39e5f8 /externals/grill/xsample/source | |
parent | 8248ce3d66a19f77ffe10ded4b922cf0606f47a4 (diff) |
""
svn path=/trunk/; revision=582
Diffstat (limited to 'externals/grill/xsample/source')
-rw-r--r-- | externals/grill/xsample/source/groove.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/externals/grill/xsample/source/groove.cpp b/externals/grill/xsample/source/groove.cpp index 1c6f195f..66e55cea 100644 --- a/externals/grill/xsample/source/groove.cpp +++ b/externals/grill/xsample/source/groove.cpp @@ -169,8 +169,11 @@ xgroove::xgroove(I argc,const t_atom *argv): } #endif + if(argc > argi && IsSymbol(argv[argi])) { - buf = new buffer(GetSymbol(argv[argi]),true); + + buf = new buffer(GetSymbol(argv[argi]),true); + argi++; #if FLEXT_SYS == FLEXT_SYS_MAX @@ -182,8 +185,8 @@ xgroove::xgroove(I argc,const t_atom *argv): } #endif } - else - buf = new buffer(NULL,true); + else + buf = new buffer(NULL,true); AddInSignal("Signal of playing speed"); // speed signal AddInFloat("Starting point"); // min play pos |