Re: Audio API by Erik
Erik
Tue Jan 25 06:25:40 CST 2005
That is what I found as well, when i tried the GetDevNums() method, it
returned 0 devices. Will this happen on all PPC devices, or why do I get
0 mixers?
So there must be another way, and for now, Im looking into the TAPI to
see if I can use phoneSetVolume() method to do my work. I want to set
the volume besides muting it. Perhaps those methods will help me more.
The only problem I see now is that "application must be the owner of the
phone", and this might be a problem if someone else is using it. (Ive
actually shutdown the Phone App, so it shouldnt interupt my results).
regards
//Erik
Peter Foot [MVP] wrote:
> Most devices will return 0 for the number of mixers. For phone specific
> functionality the TAPI methods (line* )contain one which will mute/unmute
> the line (lineGetMuteState / lineSetMuteState). Not sure how you can affect
> the volume but there must be a way since the system lets you set this volume
> independantly of the regular audio output.
>
> Peter
>