PDA

View Full Version : Can't get volume using -666 as value with IPC_SetVolume


jimekus
05-03-2008, 02:59 PM
Hi again,

I've just started to interface my Ingridx Winamp front end to KMPlayer and the second difficulty I'm having is being able to get the current volume setting.

The first problem I had was being able to ignore KMPlayer, if it was running before launching Ingrid. I wasn't able to do that, so something along the lines of, "if you can't beat 'em, join 'em", was my solution.

I posted here looking for a solution for how to change the default class of "Winamp v1.x" but no one responded. I pressed on and then found that I could establish the DJ Helper plugin under KMPlayer but it didn't relate using GW_OWNER in the same way as with Winamp.

Bear in mind that using Winamp I can be running 3 instances each with its own tempo adjustment. I got around that plugin problem at long last but now I can read the volume but can't set it using code.

A bit of help here would be appreciated.

Thanks.