Author Topic: ALSA by Fred_vS  (Read 880 times)

backprop

  • Guest
ALSA by Fred_vS
« on: February 19, 2026, 05:21:50 pm »
https://github.com/fredvs/alsa_sound

Back in the days, around 2019, I worked on my own ALSA API lib and I have made almost full support, then I had massive HDD failure and all work was lost as anything I considered a joke, including this work. Now I need this do it again and before I started coding, I remembered of this one...

But that is quite modest support what is there. Is there a plan to make it complete? Or that is just what it is?

 Anyway, I will have to do my own again from ground...

Fred vS

  • Hero Member
  • *****
  • Posts: 3958
    • StrumPract is the musicians best friend
Re: ALSA by Fred_vS
« Reply #1 on: February 19, 2026, 05:29:55 pm »
Hello.

Quote
But that is quite modest support what is there. Is there a plan to make it complete? Or that is just what it is?[

What do you mean by "Is there a plan to make it complete?"

What is missing?
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

backprop

  • Guest
Re: ALSA by Fred_vS
« Reply #2 on: February 19, 2026, 05:40:59 pm »
For instance, whole low level hardware APIs, as snd_pcm_hw_params_set_format and related. All I see here are just 6 basic APIs...

My reference was this, there is several dozen, if not more than 100 APIs there:
https://www.alsa-project.org/alsa-doc/alsa-lib/index.html
« Last Edit: February 19, 2026, 05:47:58 pm by backprop »

Fred vS

  • Hero Member
  • *****
  • Posts: 3958
    • StrumPract is the musicians best friend
Re: ALSA by Fred_vS
« Reply #3 on: February 19, 2026, 07:56:44 pm »
The goal of alsa_sound is to give out-of-the-box sounds for Linux, that could be used, for example in place of the fpc "beep" method.
Only the alsa needed methods to produce sound without any dependencies are implemented.

So, sorry, there is no plan to extend it (there is uos for a complete audio framework.  ;))
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

backprop

  • Guest
Re: ALSA by Fred_vS
« Reply #4 on: February 19, 2026, 08:30:07 pm »
OK, I though this ALSA API interface is independent project. ;)
Well, more fun for me to work on... ;)

Thaddy

  • Hero Member
  • *****
  • Posts: 19626
  • Glad to be alive.
Re: ALSA by Fred_vS
« Reply #5 on: February 21, 2026, 11:44:11 am »
Note we also have libjack in trunk fpc packages.
That one is implemented in full.
« Last Edit: February 21, 2026, 11:45:49 am by Thaddy »
Any "programmer" that knows only one programming language is not a programmer

 

TinyPortal © 2005-2018