[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#250: play-sound causes "Invalid sound specification" on valid :data
From: |
Juanma Barranquero |
Subject: |
bug#250: play-sound causes "Invalid sound specification" on valid :data (on Windows) |
Date: |
Mon, 12 Jan 2009 21:37:47 +0100 |
On Fri, Jun 15, 2007 at 20:07, Michael Schierl <schierlm@gmx.de> wrote:
> - Create a valid .au file in a string (it's easier than .wav):
>
> (setq mysound (concat ".snd" ; magic number
> "\0\0\0\30" ; sound offset 0x18
> "\0\0\0\1" ; sound length 1 byte
> "\0\0\0\2" ; encoding 8-bit PCM
> "\0\0\37@" ; sampling rate 8kHZ
> "\0\0\0\1" ; 1 channel (mono)
> "x")) ; some random "sound"
>
[...]
> - Playing it from there does not produce any error, but not sound either
> (should produce a short click sound; tested with other players).
Does this produce a click sound with other players on Windows? I
tested it with Winamp and it didn't.
OTOH, if you use a sound of 4 bytes or more, it works (in Emacs, and
also Winamp). So it seems like a limitation of Windows (or some
underdocumented feature of the .au file format),
> On Sat, Jun 16, 2007 at 13:52, Eli Zaretskii <eliz@gnu.org> wrote:
> It wasn't. I added it to PROBLEMS.
I've also added a comment to play-sound's docstring. :device is not
supported, either.
Juanma
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#250: play-sound causes "Invalid sound specification" on valid :data (on Windows),
Juanma Barranquero <=