Jump to content
IGNORED

Want to Build an audio playback OS from scratch. Need guidance.


Recommended Posts

Hi Everyone, hope you're doing good.

 

I wish to build an audio playback OS from scratch either in Linux or in BSD. I would want to do it as an exercise to get to know the deeper implementations.

 

I would like to build something similar to Wtfplay. Most services except usb, hard drive support and usb dac support, and a very basic I/o (yet to decide the mode) to be not included, so as to keep the OS minimal. The hardware support shall also be specific to the image.

 

I would like to know where I can find the ALSA code which specifically implements USB audio class 2 (Asynchronous) protocol. Can anyone guide me on that? I did see a basic alsa playback code - https://gist.github.com/ghedo/963382/815c98d1ba0eda1b486eb9d80d9a91a81d995283 , but I wish to see what is inside the ALSA code. I wish to build an entire audio kernel/mixer from the ground up, albeit a simple one without many features, but supporting usb audio class 2 Asynchronous mode.

 

I would also love guidance for building linux from scratch to support just raspberry Pi 3.

 

Thanks and Regards,
Manuel Jenkin.
 

Link to post
Share on other sites
17 hours ago, manueljenkin said:

I would like to know where I can find the ALSA code which specifically implements USB audio class 2 (Asynchronous) protocol. Can anyone guide me on that?

 

In Linux kernel sources, under sound/usb directory.

 

Signalyst - Developer of HQPlayer

Pulse & Fidelity - Software Defined Amplifiers

Link to post
Share on other sites
22 hours ago, manueljenkin said:

Hi Everyone, hope you're doing good.

 

I wish to build an audio playback OS from scratch either in Linux or in BSD. I would want to do it as an exercise to get to know the deeper implementations.

 

I would like to build something similar to Wtfplay. Most services except usb, hard drive support and usb dac support, and a very basic I/o (yet to decide the mode) to be not included, so as to keep the OS minimal. The hardware support shall also be specific to the image.

 

I would like to know where I can find the ALSA code which specifically implements USB audio class 2 (Asynchronous) protocol. Can anyone guide me on that? I did see a basic alsa playback code - https://gist.github.com/ghedo/963382/815c98d1ba0eda1b486eb9d80d9a91a81d995283 , but I wish to see what is inside the ALSA code. I wish to build an entire audio kernel/mixer from the ground up, albeit a simple one without many features, but supporting usb audio class 2 Asynchronous mode.

 

I would also love guidance for building linux from scratch to support just raspberry Pi 3.

 

Thanks and Regards,
Manuel Jenkin.
 

If you want to build Linux from scratch, there is a project to document how to do that:

 

http://www.linuxfromscratch.org/

 

 

System (i): (Stack Audio Link/MoOde > 2Qute+MCRU psu; Gyrodec/SME V/Ortofon 2M Black/EAT E-Glo Petit/Magnum Dynalab FT101A) > Glow Amp One > Klipsch RP-600M

System (ii): iUSB3.0 Nano/Allo USB Signature/MoOde > Bel Canto uLink+AQVOX psu > Chord Hugo > (Tandy LX5; JBL LSR305 ; Audeze LCD-3)

Link to post
Share on other sites
22 hours ago, manueljenkin said:

I would like to build something similar to Wtfplay.

 

https://www.nexthardware.com/forum/pc-top-software/88276-wtfplay-misurazioni-e-confronti-con-players-14.html#post960061

Quote

Please find below the list of package that have been used to build the distribution and and the corresponding licences.

 

All packages listed below have been build via portage (https://wiki.gentoo.org/wiki/Portage). The source code is in official Gentoo repositories.

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...