At Thu, 23 Oct 2003 09:37:44 +0200 (METDST), Clemens Ladisch wrote: > > > - fix detection of omitted (default) joystick_port parameter > - make fm_port and mpu_port handling consistent with joystick_port
i think it'd be better to check all *_port parameters of all modules to use the consistent values. so far, some drivers use the value 0 to disable the device, some -1, and sometimes -1 is for the auto-detection. yes, it's cosmetic but important. we need to define the standard values before ALSA 1.0 is out. the candidates are: a) -1 = disable, 0 = auto-detect, others = manual b) 0 = disable, -1 = auto-detect, others = manual c) 0 = disable, 1 = auto-detect, others = manual d) 0 = disable, -1 = auto-detect, others = manual i like the case (c) or (d). in theory, the value 1 might be invalid in (c). but, these ports parameters are anyway only for ISA devices, and 1 is never used as the valid port address. comments? Takashi ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel