dimibyte wrote:I want to hear real, not converted sound with my android device and use it's maximum power.
I have started my work on learning OSS API to write, or take a try in driver writing.
Have you tried to contact OSS4 developers?
dimibyte wrote:Are there tricks to make ALSA to emulate OSS, or it is impossible to tell ALSA to use drivers for OSS?
I do not think that a sort of "emulation" may solve the problem. It is a wasting time, nothing more.
dimibyte wrote:Even if I have disabled resamplers on my Android device, I'm still not sure about that.
This is exactly the case. With ALSA, you never know what is really going on. ALSA is so designed that the users (and, perhaps, developers themselves) would not be able to understand how it works. It seems to be a sort of "calculated deception" (gezielte Täuschung).
Imagine that ALSA developers would publish a comprehensive manual on how to disable ALSA resamplers together with a clear-cut method of verification. The ALSA users would try to disable resamplers, but the sound would still be crappy. This would rise questions about the quality of ALSA drivers.
Notice, that there is not any official manual on how to disable resampling with OSS4 (and other sort of lossy conversions, "redirection to virtual devices", etc.) and how to verify this.
Nevertheless, OSS4 is said to be well-documented. This may seem true, if you compare it with ALSA, or other sort of "very advance open source crap". However, it might be rather difficult, even for an advanced Linux user, to understand how to disable lossy conversions with OSS4. In any case, it is extremely time-consuming. The absence of clear documentation makes users busy with "solving problems". You have to participate in the "stupid business" of the sort, if you still believe in "open-source".
Is there any "open-source" player which allows to play HiRes FLACs with OSS4 without lossy conversions, "redirection to virtual devices", or other sort of unwanted crap? Such players do not exist.
The only practical solution is DeadBeef player with Petrov's plugin. This plugin is "closed source", but it is free.
Notice, that the only component of Petrov's plugin, which might be difficult to reproduce, is his magic resampler. It should not be difficult to create a plugin for DeadBeef without resamplers. It should support "exclusive mode", surround playback, and allow to disable/enable format conversion. It may have a format converter inside which can be disabled. The "exclusive mode" is already supported by the "open-source" OSS4 plugin for Audacious (git version), but Audacious itself performs lossy format conversions which cannot be disabled.
Now imagine, that you have HD video files with HiRes audio tracks. To play them without lossy conversions, you may need a special OSS4 plugin for MPlayer. Such plugins do not exist.
Do not forget about your buggy video driver and crappy Linux kernel. Otherwise, experiments with playing HD videos on Linux may destroy your processor. It might be overheated and melted.
There seems to be a lot of Linux developers. They continue to develop problems: PulseAudio, systemd, GNOME3 and so on. They seem to believe that "open-source" users are semi-deaf, semi-blind, and semi-stupid.