diff options
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 |