Lines Matching +defs:string +defs:width
8 #include <string.h>
56 int arg, width = 0, pps = 0, startpos = 0, endpos = -1, check = 0;
65 char *string;
73 string = Tcl_GetStringFromObj(objv[2], NULL);
74 if (string[0] != '-') {
75 if ((shp = Snack_GetSound(interp, string)) == NULL) {
144 "-start", "-end", "-width", "-pixelspersecond",
173 if (Tcl_GetIntFromObj(interp, objv[arg+1], &width) != TCL_OK)
216 /* len = (endpos-startpos+1)/Fe = width/pps */
218 if (width > 0 && pps > 0) {
219 endpos = startpos + (int) (Fe * width / (float) pps - 1);
225 if (width <= 0 && pps > 0) {
226 width = (int) ceil(len * pps);
228 if (width <= 0 || len <= 0) {
249 && Snack_GetSampleRate(preshp) * len / width > 4) {
260 hRatio = Fe * len / width;
291 nbytes = sizeof(Maxmin) * nc * width;
304 for (i=0; i<width; i++) {