Skip to contentSkip to conversation

porting oss app to alsa

DISCUSSION ljp 4 participants 5 messages Jan 30, 2003

lore
Share & tools
lore

ljp

author
#0 lore raw

Hello,
Is there a simple document outlining the OSS functions and their ALSA equivalents?

ljp

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

#1 lore raw
Quoted 2 lines · ljp

Is there a simple document outlining the OSS functions and their ALSA equivalents?

for basic usage : do man of open(), read(), close(), write(). this is portable but limited (open/closing mixer/device, setting mix , output samples, ...)

for high level usage, look at html doc in libalsa2.

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

author
#2 lore raw
Quoted 5 lines · Thierry Vignaud
Quoted 2 lines · ljp

Is there a simple document outlining the OSS functions and their ALSA equivalents?

for basic usage : do man of open(), read(), close(), write().

Thank you, I am aware of these.

Quoted 4 lines

this is portable but limited (open/closing mixer/device, setting mix , output samples, ...)

for high level usage, look at html doc in libalsa2.

ya, I was asking if there is a document that explains how to port OSS apps. Such as:

OSS ALSA
-------------------------------------------------------
SNDCTL_DSP_GETOSPACE something_or_another
MIXER_READ some_mixer_function

Some simple doc like that, outlining the different functions and the ALSA counterparts, I think, would allow people like me, with too many projects, and not enough time, to add ALSA functionality to apps.

I am asking this, as the ALSA OSS compat. seems to be getting depreaciated (I dont blame it), and stuck on rc1.

ljp

Signature · 17 lines
My cat's a debugger....

Potter, Lorn, "ljp"
core member / Web Administrator
Project OPIE- the Open Palmtop Integrated Environment
http://opie.handhelds.org 
IRC: irc.freenode.net #opie #opie.de

[email protected]
[email protected]



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
#3 lore raw
Quoted 2 lines

I am asking this, as the ALSA OSS compat. seems to be getting depreaciated (I dont blame it), and stuck on rc1.

its not deprecated, though many of us would actively discourage anyone from writing new applications that use the OSS API. its very important for ALSA that it fully and properly supports the OSS API. if it did not, it would have been very hard to get linus to accept ALSA as the default/standard audio API in the 2.5/2.6 kernel series.

--p

ps. of course, some of us would discourage people from using ALSA
as the API too :)))

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

#4 lore raw
In reply to ljp

At Thu, 30 Jan 2003 07:17:36 -0700,

Quoted 6 lines · ljp
Quoted 5 lines

this is portable but limited (open/closing mixer/device, setting mix , output samples, ...)

for high level usage, look at html doc in libalsa2.

Quoted 7 lines

ya, I was asking if there is a document that explains how to port OSS apps. Such as:

OSS ALSA
-------------------------------------------------------
SNDCTL_DSP_GETOSPACE something_or_another
MIXER_READ some_mixer_function

this would be a nice tutorial, but i've never known, unfortunately.

i hope someone can start working on such a document.

Quoted 2 lines

I am asking this, as the ALSA OSS compat. seems to be getting depreaciated (I dont blame it), and stuck on rc1.

not deprecated, but the version is stopped just because no changes are necessary. (doesn't mean it's enough stable, though :)

Takashi

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com