It could be made simpler if we told people that they couldn't use volume ramping with this feature. Then we'd just trap the very first volume IOCTL call in hijack and cap if neccessary.
Ah, I think that's way overkill. That's not what we need.

We've already got a volume cap command in the player software. We don't need to cap every volume adjustment. We just need to cap the value that gets written to flash.

See, when the player boots, it's reading the flash and ramping *to* that. Whatever's in the flash. We wouldn't even have to intercept *reads* from the flash, just the power-down *write*. And just make sure that value is no larger than X.
_________________________
Tony Fabris