www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/11/16/07:25:33

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: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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: <CAGaO6c-H+8xtpU4RZ1yH_MdL6R5df4U4Z+ucsGt3r3DU7vWU7g@mail.gmail.com>
References: <CAGaO6c-H+8xtpU4RZ1yH_MdL6R5df4U4Z+ucsGt3r3DU7vWU7g AT mail DOT gmail DOT com>
Date: Sat, 16 Nov 2013 20:24:53 +0800
Message-ID: <CAGaO6c8W-SwBYQ8Cm1eb6Ax+Do=aRHeALrFr9aA58+U_XMENfw@mail.gmail.com>
Subject: Re: Audio Related
From: "George M. Florendo" <georgeflorendo AT gmail DOT com>
To: cygwin AT cygwin DOT com
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019