I remember playing some songs on my old Pentium 100, 8 MB RAM and 1 GB HD...
Announcement
Collapse
No announcement yet.
KLANG: A New Linux Audio System For The Kernel
Collapse
X
-
Originally posted by cb88 View PostYou know...PulseAudio I despise the extra daemon running in the background. Oh.. *Idea* lets hide the whole shebang in the kernel! that way they can't see it right off... You know it really would be better if the parts that have to be running all the time got merged into the kernel and the parts that don't stayed in userspace. The problem with this is audio problems are now harder to fix as it increases the likelihood of requiring a kernel recompile.
% ps aux | grep coreaudio
_coreaudiod 157 0.4 0.1 2517736 8168 ?? Ss 29Jun12 77:35.38 /usr/sbin/coreaudiod
yeah, its certainly true that the OS X world is full of people who despise the extra daemon runnin gin the background.
apparently, you're not familiar with the linux engineering dictum that the kernel provides mechanism not policy. putting mixing, sample rate conversion and sample format conversion into the kernel would completely violate that policy. and if you insist, like KLANG (and OSS) on using open/read/write/ioctl, then all those things MUST be in the kernel.
Clearly you can use FP in the kernel http://www.linuxsmiths.com/blog/?p=253 I can see how there could be drawbacks however if you tried doing alot of FP in the kernel.
Comment
-
Originally posted by allquixotic View PostThis thing is just stupid. It's like going on a 500 mile trip in the car, traveling 498 miles to your destination, then say "oh $@(# I meant to take a train, not a car, this sucks", then drive all the way back home and get on a train to go there again. What a terrible waste of manpower.
Contribute to ALSA or PulseAudio (or both) instead, ya dolt!
It don't think it will bring much improvement, but it will surely bring improvement.
Completely agree with your VP on OSS & contribution targets.
Comment
-
Originally posted by Khudsa View PostI remember playing some songs on my old Pentium 100, 8 MB RAM and 1 GB HD...
486 is ok with 8MiB, but Pentium and up need at least 16MiB.
Also, the sound pretty much sucked. Cmmon 8bit, 8khz almost always mono. No wonder tracker was so favorite back then.
So, I remember playing songs on my old 486sx with 4MiB RAM and 160 MB HDD and I don't want those times back.Last edited by crazycheese; 31 July 2012, 04:09 PM.
Comment
-
Originally posted by crazycheese View Post8MIB of RAM is really really small for P 100... Consider upgrading.
486 is ok with 8MiB, but Pentium and up need at least 16MiB.
Also, the sound pretty much sucked. Cmmon 8bit, 8khz almost always mono. No wonder tracker was so favorite back then.
So, I remember playing songs on my old 486sx with 4MiB RAM and 160 MB HDD and I don't want those times back.
Comment
-
On the DLL based position estimation of CoreAudio
Originally posted by PaulDavis View Post(?) Now, there is nothing fundamental stopping ALSA from adopting this kind of design. But nothing stopping it isn't the same as making it happen - that would require a significant engineering effort.
Also our sample rates in physics are several orders of magnitudes higher of that found in audio. Right now I got that task (at my work I get paid for) to process 2GS/s with 16 bits/S. Oh, and I have to rescale that with varying target sample distances, with lowest possible harmonic distortion. That's the kind of signal processing I usually deal with, and this is to be happen on a 8 cores Ivy Bridge, so?
Originally posted by PaulDavis View PostIn addition, even without this, you still have to decide where sample rate conversion and sample format conversion will take place - in user space, or in the kernel.
Originally posted by PaulDavis View PostOS X does not have a prohibition on floating point in kernel space (which is contributes a teeny bit to why their kernel is slower than linux for many things).
Comment
-
Originally posted by Ferdinand View PostShouldn't a pentium 133Mhz be able to play an mp3 fluently?
I'm sure this post has a relevance of 0...
Comment
-
i don't get it.
good quality sound mixing requires floating point operation, but this is not allowed in kernel currently.
How can fixed-point operation achieving good quality
However, if compare to Windows/FreeBSD, they does sound mixing in kernel for low latency.
i don't think that linux developers are so "superior" to be able to achieve the goal in userspace.
As long as Linus bans floating point operation in kernel, he is banning Linux kernel to achieve low-latency audio in a cpu cycle effective/power effective way.
KLANG seems to be a small step in the correct direction, but this is unrealistic to reinvent the wheel (how many years will it take?)
either enhancing in ALSA with floating point or improving OSS4 and push it mainline.Last edited by unknown2; 31 July 2012, 07:50 PM.
Comment
Comment