case MA_OPT_SOUND_QUALITY:
if (strcasecmp(var, "Sound Quality") != 0) return 0;
- PsndRate = strtoul(val, &tmp, 10);
- if (PsndRate < 8000 || PsndRate > 44100)
- PsndRate = 22050;
+ PicoIn.sndRate = strtoul(val, &tmp, 10);
+ if (PicoIn.sndRate < 8000 || PicoIn.sndRate > 44100)
+ PicoIn.sndRate = 22050;
if (*tmp == 'H' || *tmp == 'h') tmp++;
if (*tmp == 'Z' || *tmp == 'z') tmp++;
while (*tmp == ' ') tmp++;