-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jerry James <james(a)xemacs.org> writes:
Steve Youngs <steve(a)sxemacs.org> wrote:
> Interesting how this thread has come up... we're currently doing
> surgery on sound in SXEmacs.
Cool. Are you making it part of the normal event processing system? I
was awfully disappointed when I went to look at the sound code and found
that it is entirely separate from normal events. I even thought briefly
Hm, why should normal events interact here? We use pthreads to trigger
some external libraries which do all the useful stuff for us. And at the
moment we are about to establish (elisp) sentinels which are called when
`events' (like stopping, seeking, or the like) happen to the stream. But
since such events are of external nature I cannot see how to wrap them
into lisp events. Can you? :)
about fixing that, but there are so many other things I want to do
first
...
Oh, what's the approach you have in mind?
> And as a teaser for you... (play-sound-file "file.mp3")
works in
> SXEmacs. Asynchronously, I might add. :-)
:-) Well, great. Would you mind shoving me in the direction of
whatever documentation might tell me the number of tracks and the speed
of a given mp3?
Hm, I cannot, sorry. Our implementation, as mentioned above, is mainly
driven by external libraries, so I can tell you how to do that with
ffmpeg/xine/gstreamer/libmad-APIs.
Oh, and with speed you mean the samplerate? Or the bitrate? You have to be
careful with the latter, since that may vary.
Sebastian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFEKnSllMmhrILJOQ4RAsz6AJwIuu3IVLGc/yUYO1IIqERsIv9dpgCfQw5y
9+tGUKEJsTK/+hWa8YZElEE=
=nC0y
-----END PGP SIGNATURE-----