This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Audio Related
- From: "George M. Florendo" <georgeflorendo at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 16 Nov 2013 20:24:53 +0800
- Subject: Re: Audio Related
- Authentication-results: sourceware.org; auth=none
- References: <CAGaO6c-H+8xtpU4RZ1yH_MdL6R5df4U4Z+ucsGt3r3DU7vWU7g at mail dot gmail dot com>
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