X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:to:subject:in-reply-to :references; q=dns; s=default; b=FguCUp8tWlOlpj3pNeBUz+a+IP9LXWI J2fwc8sXFYn69vSeaB1odbvwZMIqMDXACMNcu1ssGeu8k/kEH9olHbuted0pBqeN u1YKA9lgcT9FC3RA7DB491SLhD6DzWiVAfqAzww5dexjhB9KWRzEad3cb97pb8DD sXvoka4hVKoU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:to:subject:in-reply-to :references; s=default; bh=JT8fP9rakMFqHS3sHK2IuQuQrHU=; b=fCleI +sDrBJamHvh0kGSPY9/oiUGp5h1sUKLSqoNsTM/NOTfb/FZdj9BqHq3tK7CMpFTm Ni3Y/zhVKJ/dylDzB/YQr+4GTxlQGlIvcWUvSRwnWE7mkpYFn+JF6JI4Hf0/JxW9 52KprVU9oWMHT5rdFahA7tXmB10FuaiGehyRS4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.6 required=5.0 tests=AWL,BAYES_95,FREEMAIL_FROM,RDNS_NONE,SPF_SOFTFAIL,URIBL_BLOCKED autolearn=no version=3.3.2 X-HELO: mail1.asahi-net.or.jp Message-ID: <20131116220321.2568@binki> Date: Sat, 16 Nov 2013 22:03:21 +0900 From: wynfield AT gmail DOT com To: Subject: Re: Audio Related In-reply-to: Your message of Sat, 16 Nov 2013 20:24:53 +0800 References: X-IsSubscribed: yes Yes, waveOutSetVolume is in mmsystem.h as well as you mentioned. Thanks for the helpful information. Regards George M. Florendo 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