I have developmet a ringtone plug-in which impletment IEventSound
interface. But it can't change vulume when ring profile change, and the
vulume the ringtone is too small when incoming call occur. Whether the
issues could be resolved if I try IEventSound2 interface? If is, how to
impletment IEventSound2::SetVulume() ,and so on? Whether there are some
API to set vulume?

Any help appreciated!

Re: vulume problem of ringtone plug-in by Ulrich

Ulrich
Fri Jul 21 08:22:53 CDT 2006

yaxixi wrote:
> I have developmet a ringtone plug-in which impletment IEventSound
> interface. But it can't change vulume when ring profile change, and the
> vulume the ringtone is too small when incoming call occur. Whether the
> issues could be resolved if I try IEventSound2 interface? If is, how to
> impletment IEventSound2::SetVulume() ,and so on? Whether there are some
> API to set vulume?

That might sound like a stupid suggestion, but could it be that you are
consistently misspelling 'volume' as 'vulume'? If you're trying to override
a virtual function and misspell it or otherwise get the signature wrong it
will just be an overload that is never called.

Uli



Re: vulume problem of ringtone plug-in by yaxixi

yaxixi
Sat Jul 22 22:57:21 CDT 2006


Ulrich Eckhardt wrote:
> yaxixi wrote:
> > I have developmet a ringtone plug-in which impletment IEventSound
> > interface. But it can't change vulume when ring profile change, and the
> > vulume the ringtone is too small when incoming call occur. Whether the
> > issues could be resolved if I try IEventSound2 interface? If is, how to
> > impletment IEventSound2::SetVulume() ,and so on? Whether there are some
> > API to set vulume?
>
> That might sound like a stupid suggestion, but could it be that you are
> consistently misspelling 'volume' as 'vulume'? If you're trying to override
> a virtual function and misspell it or otherwise get the signature wrong it
> will just be an overload that is never called.
>
> Uli

Thanks for your suggestion. I had realized the misspelling in my
message , but in my code I don't misspell it . My problem is how can I
impletment to change ringtone volume when ring profile change. Whether
there is API to get the profile volume?