* Audio Related
@ 2013-11-16 2:09 wynfield
2013-11-18 11:25 ` Corinna Vinschen
0 siblings, 1 reply; 6+ messages in thread
From: wynfield @ 2013-11-16 2:09 UTC (permalink / raw)
To: cygwin
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.
Regards
--
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Audio Related
2013-11-16 2:09 Audio Related wynfield
@ 2013-11-18 11:25 ` Corinna Vinschen
2013-11-18 15:26 ` d.henman
0 siblings, 1 reply; 6+ messages in thread
From: Corinna Vinschen @ 2013-11-18 11:25 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 843 bytes --]
On Nov 16 11:09, wynfield@gmail.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.
Cygwin supports a single OSS-like audio device called /dev/dsp. It's
always connected to the default Windows audio device.
It's not much, but unfortunately we're lacking a developer who's
knowledgable in this audio stuff and interested in either extending the
/dev/dsp interface to support multiple audio devices, or to modernize
this to a more ALSA-like interface.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Audio Related
2013-11-18 11:25 ` Corinna Vinschen
@ 2013-11-18 15:26 ` d.henman
0 siblings, 0 replies; 6+ messages in thread
From: d.henman @ 2013-11-18 15:26 UTC (permalink / raw)
To: cygwin
Thanks for the informative explanation. It would be nice if someone see this and has the audio knowldge to update this area as you said.
Thanks
Corinna Vinschen
> On Nov 16 11:09, wynfield 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.
>
> Cygwin supports a single OSS-like audio device called /dev/dsp. It's
> always connected to the default Windows audio device.
>
> It's not much, but unfortunately we're lacking a developer who's
> knowledgable in this audio stuff and interested in either extending the
> /dev/dsp interface to support multiple audio devices, or to modernize
> this to a more ALSA-like interface.
>
>
> Corinna
>
> --
> Corinna Vinschen Please, send mails regarding Cygwin to
> Cygwin Maintainer cygwin AT cygwin DOT com
> Red Hat
--
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Audio Related
2013-11-16 13:03 ` wynfield
@ 2013-11-16 18:32 ` Christopher Faylor
0 siblings, 0 replies; 6+ messages in thread
From: Christopher Faylor @ 2013-11-16 18:32 UTC (permalink / raw)
To: cygwin
On Sat, Nov 16, 2013 at 10:03:21PM +0900, wynfield@gmail.com wrote:
>Yes, waveOutSetVolume is in mmsystem.h as well as you mentioned.
This is, of course, not really a Cygwin issue. If you're using a Windows
API to control your audio then you should be investigating Windows forums
for help.
--
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Audio Related
2013-11-16 12:25 ` George M. Florendo
@ 2013-11-16 13:03 ` wynfield
2013-11-16 18:32 ` Christopher Faylor
0 siblings, 1 reply; 6+ messages in thread
From: wynfield @ 2013-11-16 13:03 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Audio Related
[not found] <CAGaO6c-H+8xtpU4RZ1yH_MdL6R5df4U4Z+ucsGt3r3DU7vWU7g@mail.gmail.com>
@ 2013-11-16 12:25 ` George M. Florendo
2013-11-16 13:03 ` wynfield
0 siblings, 1 reply; 6+ messages in thread
From: George M. Florendo @ 2013-11-16 12:25 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-11-18 15:26 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-16 2:09 Audio Related wynfield
2013-11-18 11:25 ` Corinna Vinschen
2013-11-18 15:26 ` d.henman
[not found] <CAGaO6c-H+8xtpU4RZ1yH_MdL6R5df4U4Z+ucsGt3r3DU7vWU7g@mail.gmail.com>
2013-11-16 12:25 ` George M. Florendo
2013-11-16 13:03 ` wynfield
2013-11-16 18:32 ` Christopher Faylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).