This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Audio Related


On 11/16/13, wynfield at gmail dot com wrote:
> I want to add audio output volume control to an application.   But, I
> don't know how to go about it yet.
>
> If you know anything about controlling volume from within cygwin
> applications or have done so, I would appreciate your telling me about
> it.

Check the win32api package and read on the waveOutGetVolume() and
similar functions.   I suppose there is also a waveOutSetVolume() or
something like that.

/usr/include/w32api
$ grep -re waveOutGetVolume *
mmsystem.h:  WINMMAPI MMRESULT WINAPI waveOutGetVolume(HWAVEOUT
hwo,LPDWORD pdwVolume);



-- 
George M. Florendo
Programmer
http://www.facebook.com/i.am.georgeflorendo

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]