Re: Interesting I/O options...

Sean Adams <[email protected]> Mon, 8 Oct 2001 18:42:32 +0000 (GMT)
Newsgroups gmane.music.equipment.slimp3.dev
Message-ID <[email protected]>
Mark,

I don't know of any Windows gurus on the team, but I have a pretty good
idea how we might do this in Linux.

We could make a device driver that looks like /dev/audio, but is really a
"loopback" device. It would capture the audio stream and ioctls, and
then make it accessible to userland through another device, so the
SliMP3 server can pick it up, encode it, and pass it to the player.

The big problem with all of this is the latency, and dealing with
buffering. Every time something is written to /dev/audio, we need to pull
it back into userland, do the MPEG encoding, send it to the player, and
then start the player once we've sent enough data into its buffer. It's
just not safe to do this over the network with less than a few hundred ms
of buffering. The delay would definitely be noticeable to the user, and
the MPEG encoding is very expensive.

Sean

On Mon, 8 Oct 2001, Mark Rumer wrote:

> Sean-
>
> After a couple of weeks playing with SliMP3,
> I've been doing some wacky thinking, so
> please bear with me:
>
> Feature:
>
>    Capture internal PC audio and stream to SliMP3.
>
>
> Background:
>
>    Under windoze, I run a program called Mixmeister
>    to create continuous music mixes.  This program
>    has an option of encoding the outbound audio as
>    a WMA stream.  Problem, of course is that WMA is
>    not MP3.
>
>    The program does support multiple audio outputs
>    or sound cards for either preview or main mix
>    tracks.  The newer version also uses Direct-X
>    plug-ins for audio processing.
>
>
> Idea:
>
>    Grab the PCM stream from the audio path and
>    stream to the player uncompressed.  It should
>    be possible to do this on Linux, Win and Mac
>    platforms.
>
>    Better still to proxy the remote into keyboard
>    shortcuts or media controls to command the player
>    software.
>
>    Ultimate is to push out the song title info to
>    the player, but there is no standard way to pull
>    such info from the software.
>
>
> Regards,
> -Mark


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE VeriSign guide to security solutions for your web site: encrypting transactions, securing intranets, and more!
http://us.click.yahoo.com/UnN2wB/m5_CAA/yigFAA/rIp0lB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/