This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Audio Related
- From: wynfield at gmail dot com
- To: <cygwin at cygwin dot com>
- Date: Sat, 16 Nov 2013 22:03:21 +0900
- Subject: Re: Audio Related
- Authentication-results: sourceware.org; auth=none
- References: <CAGaO6c-H+8xtpU4RZ1yH_MdL6R5df4U4Z+ucsGt3r3DU7vWU7g at mail dot gmail dot com> <CAGaO6c8W-SwBYQ8Cm1eb6Ax+Do=aRHeALrFr9aA58+U_XMENfw at mail dot gmail dot com>
Yes, waveOutSetVolume is in mmsystem.h as well as you mentioned.
Thanks for the helpful information.
Regards
George M. Florendo <georgeflorendo@gmail.com> wrote:
> 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
>
--
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