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:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; q=dns; s=default; b=ea InpbfNzCY33Axv5g0i8h/2ohEAodjc+Z2NRraLuBppzh3W5wervG3WCdyVgN7GXP yUSSYDNrRhGFyB4VgQFZiKKG8L4fKwvXGxXEUXSquJpyNmny3pZMXTs0aXQdnaox rNza4Swh7Gid6hmoVwhUxtW44atKCKgkaOmq47x9g= 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:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; s=default; bh=QKfgOKOE 1EqkUPcJA4RkqhnQSXo=; b=Ue64Iscqqu96lD4GDn2fZqQz+8KigTU6fxN6W9/5 SgB1NZgRkBLpvpN3Lu//tPwItrjEIR3/Tbb8ogGuIamhBpgFPVP1LcVnrZwTL7K/ +CpEmPQKlE0D3w5uQ3m9+EKMOegQ650CTq6x7z1yYYdDzL1oNPBBwzAqodTHHUI6 Fsw= 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=4.4 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RDNS_NONE,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-qe0-f65.google.com MIME-Version: 1.0 X-Received: by 10.49.1.230 with SMTP id 6mr18620225qep.48.1384604693225; Sat, 16 Nov 2013 04:24:53 -0800 (PST) In-Reply-To: References: Date: Sat, 16 Nov 2013 20:24:53 +0800 Message-ID: Subject: Re: Audio Related From: "George M. Florendo" To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes 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