all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Sound support enabled on Cygwin
@ 2014-09-27 23:51 Ken Brown
  0 siblings, 0 replies; 5+ messages in thread
From: Ken Brown @ 2014-09-27 23:51 UTC (permalink / raw)
  To: Emacs

In bzr revision 117968 on the trunk I enabled sound support on Cygwin. 
I gave it only minimal testing, by evaluating

   (play-sound-file "/cygdrive/c/Windows/Media/chimes.wav")

If any Cygwin users know how to test it more rigorously, please do so 
and report any bugs.

Thanks.

Ken



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Sound support enabled on Cygwin
@ 2014-09-28  9:48 Angelo Graziosi
  2014-09-28 14:02 ` Ken Brown
  0 siblings, 1 reply; 5+ messages in thread
From: Angelo Graziosi @ 2014-09-28  9:48 UTC (permalink / raw)
  To: Emacs developers, Ken Brown

Ken Brown wrote:
> In bzr revision 117968 on the trunk I enabled sound support on Cygwin.

Usually, in my builds I find

...
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for machine/soundcard.h... no
checking for sys/soundcard.h... yes
checking for soundcard.h... no
checking for mmsystem.h... no
checking for _oss_ioctl in -lossaudio... no
checking for ALSA... no
checking for sys/systeminfo.h... no
checking for sys/sysinfo.h... yes
...

so, should we install additional packages? Which?

Thanks,
Angelo.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Sound support enabled on Cygwin
  2014-09-28  9:48 Sound support enabled on Cygwin Angelo Graziosi
@ 2014-09-28 14:02 ` Ken Brown
  2014-09-28 14:31   ` Angelo Graziosi
  0 siblings, 1 reply; 5+ messages in thread
From: Ken Brown @ 2014-09-28 14:02 UTC (permalink / raw)
  To: Angelo Graziosi, Emacs developers

On 9/28/2014 5:48 AM, Angelo Graziosi wrote:
> Ken Brown wrote:
>> In bzr revision 117968 on the trunk I enabled sound support on Cygwin.
>
> ...
> checking for machine/soundcard.h... no
> checking for sys/soundcard.h... yes  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> checking for soundcard.h... no
> ...
>
> so, should we install additional packages? Which?

I think it should just work with a base Cygwin install.  The Cygwin DLL 
has a built-in OSS driver, and the corresponding header is sys/soundcard.h.

Ken



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Sound support enabled on Cygwin
  2014-09-28 14:02 ` Ken Brown
@ 2014-09-28 14:31   ` Angelo Graziosi
  2014-09-28 17:54     ` Ken Brown
  0 siblings, 1 reply; 5+ messages in thread
From: Angelo Graziosi @ 2014-09-28 14:31 UTC (permalink / raw)
  To: Ken Brown, Emacs developers



Il 28/09/2014 16:02, Ken Brown ha scritto:
> On 9/28/2014 5:48 AM, Angelo Graziosi wrote:
>> Ken Brown wrote:
>>> In bzr revision 117968 on the trunk I enabled sound support on Cygwin.
>>
>> ...
>> checking for machine/soundcard.h... no
>> checking for sys/soundcard.h... yes  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>> checking for soundcard.h... no
>> ...
>>
>> so, should we install additional packages? Which?
>
> I think it should just work with a base Cygwin install.  The Cygwin DLL
> has a built-in OSS driver, and the corresponding header is sys/soundcard.h.

Oh thanks!

It seems that it works fine with .waw files. Out of curiosity, I tried 
also with an .mp3 file but it didn't work. I assume that MP3 is not 
supported, yet.

Thanks in any case for having enabled this also for Cygwin system... :)


Ciao,
Angelo.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Sound support enabled on Cygwin
  2014-09-28 14:31   ` Angelo Graziosi
@ 2014-09-28 17:54     ` Ken Brown
  0 siblings, 0 replies; 5+ messages in thread
From: Ken Brown @ 2014-09-28 17:54 UTC (permalink / raw)
  To: Angelo Graziosi, Emacs developers

On 9/28/2014 10:31 AM, Angelo Graziosi wrote:
> It seems that it works fine with .waw files. Out of curiosity, I tried
> also with an .mp3 file but it didn't work. I assume that MP3 is not
> supported, yet.

I think only .wav and .au are supported.

> Thanks in any case for having enabled this also for Cygwin system... :)

It was trivial to do, and doing it had the beneficial side effect of 
exposing a bug in my implementation of HYBRID_MALLOC (fixed in bzr 117967).

Ken




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-09-28 17:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-28  9:48 Sound support enabled on Cygwin Angelo Graziosi
2014-09-28 14:02 ` Ken Brown
2014-09-28 14:31   ` Angelo Graziosi
2014-09-28 17:54     ` Ken Brown
  -- strict thread matches above, loose matches on Subject: below --
2014-09-27 23:51 Ken Brown

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.