[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sound translator

From: Robert Millan
Subject: Re: Sound translator
Date: Thu, 24 Sep 2015 12:07:44 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0

El 23/09/15 a les 23:56, Olaf Buddenhagen ha escrit:
On Sat, Sep 19, 2015 at 10:52:01AM +0200, Robert Millan wrote:
So if you wanted Sun audio, then yes it's a 1:1 wrapper. Otherwise you
have to convert.

That's a bummer. I was assuming that all BSDs -- and by extension, Rump
-- use OSS...

It's very simple really. For rumposs I made OSS->Sun translation transparent
by integrating libossaudio directly into the source tree (note it had to be
integrated anyway, because of the modifications I stated in my previous mail).

You can do the same in a translator:

- Get ossaudio.c from rumposs, which includes all the necessary adjustments
(also just pushed GNU/Hurd fixes few minutes ago).

- Link it into your translator executable.

- Instead of forwarding ioctls to rump_sys_ioctl(), forward them to _oss_ioctl()
which is provided by ossaudio.c.

I find OSS more useful than Sun audio myself, so I hacked a modified
version of libossaudio (a conversion library included with NetBSD).

How does that work in NetBSD?

They provide libossaudio and then modify every OSS application to use 
and link with -lossaudio.

Robert Millan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]