[Hfterm-hackers] Re: [Alsa-user] Quake 3 and possible ALSA bug
Brought to you by:
dl4mge
From: <Saf...@ad...> - 2004-05-11 11:58:44
|
Am Samstag 08 Mai 2004 10:31 schrieben Sie: > On Fri, May 07, 2004 at 01:27:46PM +0200, G=FCnther Montag wrote: > > Hello friends > > I work at a ham radio prog that uses similiar code as quake, as I hea= rd. > > With which alsa did you have success, > > and in what way could you set quake to 22kHz? > > Do you know if there is something like a mailing list or forum for th= e > > quake-users, maybe they have some hacks for me... > > I have patched aoss lib so now I can run quake1, quake2 and quake3 > using command `aoss quakeX` . But my patches are applying to alsa-1.0.3 > so I must rewrite them to latest version of ALSA. Then I post them. > aoss could use ALSA mixing in lib capability and then you have > possibility of using many sound apps at the same time. > For example listen to a classic music intrernet radio and play Quake3. > Very nice effect. > > quake1 and quake2 are not quite properly written if we talking about OS= S > programing. You could get OSS programing manual in .pdf format > and read how properly initialize dsp. General rule is to set format and > sample size first and then speed. After thet you can ask about > buffer/fragment size and number of fragments. In another case you could > get bad settings or unwanted dsp speed change. But all this is clearly > written in doc. I feel need for this kind of documentation for ALSA. > One manual describing functions, parameters and proper suggested > usage (with simple examples). As I can see now programming an app which > uses ALSA in much more complex then with OSS. > > Regards tnx, interesting! Do you know where to get OSS programming manual? I am planning to get ALSA 1.0.4, for this I need kernel update, so just n= ow I=20 am downloading 30 MB of kernel 2.3.26 on my cow-village-modem-access, las= ts 4=20 hours, uargh... If You changed your code for alsa-1.0.4, maybe it would be interesting fo= r=20 many other people also, please send it also to alsa-devel mailing list! This could be an alternative to rewriting my prog in ALSA Api. Thank you a lot! --=20 G=FCnther Montag Saf...@ad... |