* porting oss app to alsa @ 2003-01-30 3:18 ljp 2003-01-30 10:31 ` Thierry Vignaud 0 siblings, 1 reply; 7+ messages in thread From: ljp @ 2003-01-30 3:18 UTC (permalink / raw) To: alsa devel 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: porting oss app to alsa 2003-01-30 3:18 porting oss app to alsa ljp @ 2003-01-30 10:31 ` Thierry Vignaud 2003-01-30 14:17 ` ljp 0 siblings, 1 reply; 7+ messages in thread From: Thierry Vignaud @ 2003-01-30 10:31 UTC (permalink / raw) To: ljp; +Cc: alsa devel ljp <ljp@llornkcor.com> writes: > 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: porting oss app to alsa 2003-01-30 10:31 ` Thierry Vignaud @ 2003-01-30 14:17 ` ljp 2003-01-30 14:29 ` Paul Davis 2003-01-30 14:41 ` Takashi Iwai 0 siblings, 2 replies; 7+ messages in thread From: ljp @ 2003-01-30 14:17 UTC (permalink / raw) To: Thierry Vignaud; +Cc: alsa devel On Thursday January 30 2003 03:31 am, Thierry Vignaud wrote: > ljp <ljp@llornkcor.com> writes: > > 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. > 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 -- 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 llornkcor@handhelds.org llornkcor@helixcommunity.org ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: porting oss app to alsa 2003-01-30 14:17 ` ljp @ 2003-01-30 14:29 ` Paul Davis 2003-01-30 14:41 ` Takashi Iwai 1 sibling, 0 replies; 7+ messages in thread From: Paul Davis @ 2003-01-30 14:29 UTC (permalink / raw) To: ljp; +Cc: Thierry Vignaud, alsa devel >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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: porting oss app to alsa 2003-01-30 14:17 ` ljp 2003-01-30 14:29 ` Paul Davis @ 2003-01-30 14:41 ` Takashi Iwai 1 sibling, 0 replies; 7+ messages in thread From: Takashi Iwai @ 2003-01-30 14:41 UTC (permalink / raw) To: ljp; +Cc: Thierry Vignaud, alsa devel At Thu, 30 Jan 2003 07:17:36 -0700, ljp wrote: > > > 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 this would be a nice tutorial, but i've never known, unfortunately. i hope someone can start working on such a document. > 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <200301301423.h0UENsG12061@charon.host4u.net>]
* Re: porting oss app to alsa [not found] <200301301423.h0UENsG12061@charon.host4u.net> @ 2003-01-30 14:46 ` ljp 2003-01-30 15:08 ` Paul Davis 0 siblings, 1 reply; 7+ messages in thread From: ljp @ 2003-01-30 14:46 UTC (permalink / raw) To: Paul Davis; +Cc: Thierry Vignaud, alsa devel On Thursday January 30 2003 07:29 am, Paul Davis wrote: > >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 :))) Well, the reason I asked, is that I am involved with porting Helix stuff to arm linux. And someone pointed out yeasterday, that there was no OSS compat for his soundcard. So, since I am waiting for stuff to get working again in respect to gcc 2.95, I took it upon myself (thinking this was almost trival to change a few fucntions from OSS to ALSA) to write some ALSA native device functions to give users a choice. This is my first time really digging into ALSA API, and I must say, I like what I see. :D And instead of bothering people with silly questions, 'how do I perform x OSS function", I went looking at the docs. The tutroials are very good, but don't touch upon some of the more compilcated aspects. It seems maybe there is a glossary or something needed for people more familiar with OSS terminology. Such as, whats a poll ? The docs state, in a not very clear way, for example, for snd_timer_poll_descriptors, 'gets poll descriptors'.. hmm, ok, whats a poll descriptor? :D Although I am thankful for the docs, I think it might be useful to have a one page doc outlining the OSS calls.. thanks- ljp -- 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 llornkcor@handhelds.org llornkcor@helixcommunity.org ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: porting oss app to alsa 2003-01-30 14:46 ` ljp @ 2003-01-30 15:08 ` Paul Davis 0 siblings, 0 replies; 7+ messages in thread From: Paul Davis @ 2003-01-30 15:08 UTC (permalink / raw) To: ljp; +Cc: Thierry Vignaud, alsa devel >And instead of bothering people with silly questions, 'how do I perform x OSS >function", I went looking at the docs. The tutroials are very good, but don't >touch upon some of the more compilcated aspects. It seems maybe there is a >glossary or something needed for people more familiar with OSS terminology. > >Such as, whats a poll ? The docs state, in a not very clear way, for example, >for snd_timer_poll_descriptors, 'gets poll descriptors'.. hmm, ok, whats a >poll descriptor? :D man 2 poll >Although I am thankful for the docs, I think it might be useful to have a one >page doc outlining the OSS calls.. agreed. but who has the time? ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-01-30 15:08 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-30 3:18 porting oss app to alsa ljp
2003-01-30 10:31 ` Thierry Vignaud
2003-01-30 14:17 ` ljp
2003-01-30 14:29 ` Paul Davis
2003-01-30 14:41 ` Takashi Iwai
[not found] <200301301423.h0UENsG12061@charon.host4u.net>
2003-01-30 14:46 ` ljp
2003-01-30 15:08 ` Paul Davis
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.