Tiny Core Linux

General TC => Programming & Scripting - Unofficial => Topic started by: MikeLockmoore on April 03, 2010, 08:07:17 AM

Title: Flit version 1.1.0 supports ALSA sound control
Post by: MikeLockmoore on April 03, 2010, 08:07:17 AM
I have added basic sound volume control to Flit for ALSA-configured TinyCore installations (in addition to the prior OSS support) in this new version 1.1.0.

For  controlling ALSA, Flit uses the amixer utility that comes with the standard alsa.tcz TinyCore extension.  If you can compile your own applications and would like to give this new ALSA support a try, please do so and let me know how it is working for you.  If you cannot get Flit to work with your current setup, please PM or post the output of amixer for me to review and maybe tell us the the specific sound hardware you have.

I also adjusted the color definition for Flit's 'transparent' style to work better with dark-ish backgrounds, including the new default background for TC Linux.

If this new version works well for most people using either OSS or ALSA, we can update the official Flit extension the TC repository.  Source code and help file attached below.
Title: Re: Flit version 1.1.0 supports ALSA sound control
Post by: jls on April 03, 2010, 02:57:34 PM
Code: [Select]
flit.cpp:71:23: error: soundcard.h: No such file or directory
Title: Re: Flit version 1.1.0 supports ALSA sound control
Post by: MikeLockmoore on April 03, 2010, 06:24:31 PM
The missing soundcard.h file (same as the 1.0.0. version) is now attached above.  Thanks for pointing out the oversight jls_legalize.
--
Mike L.
Title: Re: Flit version 1.1.0 supports ALSA sound control
Post by: jls on April 04, 2010, 07:30:44 AM
works!! volume with alsa ok!!!
Title: Re: Flit version 1.1.0 supports ALSA sound control
Post by: MikeLockmoore on April 05, 2010, 05:23:45 PM
Good!  :D