Author: pebender
Date: Tue Jun 16 19:29:47 2009
New Revision: 4958

Modified:
     
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/audio.pm

Log:
- Added some additional audio controls to unmute.



Modified:  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/audio.pm
==============================================================================
---  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/audio.pm
       
(original)
+++  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/audio.pm
       
Tue Jun 16 19:29:47 2009
@@ -82,13 +82,14 @@
                              when (m!^'Master'!)             {  
system(qq($amixer_command sset $_ $gain unmute)); }
                              when (m!^'Speaker'!)            {  
system(qq($amixer_command sset $_ $gain unmute)); }
                              when (m!^'Front'!)              {  
system(qq($amixer_command sset $_ $gain unmute)); }
-                            when (m!^'Master Front'!)       {  
system(qq($amixer_command sset $_ $gain unmute)); }
                              when (m!^'Analog Front'!)       {  
system(qq($amixer_command sset $_ $gain unmute)); }
-                            when (m!^'Surround'!)           {  
system(qq($amixer_command sset $_ $gain unmute)); }
-                            when (m!^'Analog Side'!)        {  
system(qq($amixer_command sset $_ $gain unmute)); }
-                            when (m!^'Analog Rear'!)        {  
system(qq($amixer_command sset $_ $gain unmute)); }
+                            when (m!^'Master Front'!)       {  
system(qq($amixer_command sset $_ $gain unmute)); }
                              when (m!^'Center'!)             {  
system(qq($amixer_command sset $_ $gain unmute)); }
                              when (m!^'LFE'!)                {  
system(qq($amixer_command sset $_ $gain unmute)); }
+                            when (m!^'Side'!)               {  
system(qq($amixer_command sset $_ $gain unmute)); }
+                            when (m!^'Analog Side'!)        {  
system(qq($amixer_command sset $_ $gain unmute)); }
+                            when (m!^'Surround'!)           {  
system(qq($amixer_command sset $_ $gain unmute)); }
+                            when (m!^'Analog Rear'!)        {  
system(qq($amixer_command sset $_ $gain unmute)); }
                              when (m!^'Analog Center/LFE'!)  {  
system(qq($amixer_command sset $_ $gain unmute)); }
                              # VIA Specific unmuting.
                              when (m!^'VIA DXS'!)            {  
system(qq($amixer_command sset $_ 100%        )); }
@@ -110,9 +111,9 @@
                              when (m!^'IEC958'!)             {  
system(qq($amixer_command sset $_ on          )); }
                              when (m!^'IEC958 Default PCM'!) {  
system(qq($amixer_command sset $_ on          )); }
                              when (m!^'IEC958 Front'!)       {  
system(qq($amixer_command sset $_ $gain unmute)); }
+                            when (m!^'IEC958 Center/LFE'!)  {  
system(qq($amixer_command sset $_ $gain unmute)); }
                              when (m!^'IEC958 Side'!)        {  
system(qq($amixer_command sset $_ $gain unmute)); }
                              when (m!^'IEC958 Rear'!)        {  
system(qq($amixer_command sset $_ $gain unmute)); }
-                            when (m!^'IEC958 Center/LFE'!)  {  
system(qq($amixer_command sset $_ $gain unmute)); }
                              # VIA Specific unmuting.
                              when (m!^'IEC958 Playback AC97-SPSA'!)
                                                              {  
system(qq($amixer_command sset $_ 0           )); }
@@ -160,11 +161,13 @@
                          when (m!^'Speaker'!)            {  
system(qq($amixer_command sset $_ 0% mute)); }
                          when (m!^'Front'!)              {  
system(qq($amixer_command sset $_ 0% mute)); }
                          when (m!^'Analog Front'!)       {  
system(qq($amixer_command sset $_ 0% mute)); }
-                        when (m!^'Surround'!)           {  
system(qq($amixer_command sset $_ 0% mute)); }
-                        when (m!^'Analog Side'!)        {  
system(qq($amixer_command sset $_ 0% mute)); }
-                        when (m!^'Analog Rear'!)        {  
system(qq($amixer_command sset $_ 0% mute)); }
+                        when (m!^'Master Front'!)       {  
system(qq($amixer_command sset $_ 0% mute)); }
                          when (m!^'Center'!)             {  
system(qq($amixer_command sset $_ 0% mute)); }
                          when (m!^'LFE'!)                {  
system(qq($amixer_command sset $_ 0% mute)); }
+                        when (m!^'Side'!)               {  
system(qq($amixer_command sset $_ 0% mute)); }
+                        when (m!^'Analog Side'!)        {  
system(qq($amixer_command sset $_ 0% mute)); }
+                        when (m!^'Surround'!)           {  
system(qq($amixer_command sset $_ 0% mute)); }
+                        when (m!^'Analog Rear'!)        {  
system(qq($amixer_command sset $_ 0% mute)); }
                          when (m!^'Analog Center/LFE'!)  {  
system(qq($amixer_command sset $_ 0% mute)); }
                          # VIA Specific muting.
                          when (m!^'VIA DXS'!)            {  
system(qq($amixer_command sset $_ 0%     )); }
@@ -186,9 +189,9 @@
                          when (m!^'IEC958'!)             {  
system(qq($amixer_command sset $_ off    )); }
                          when (m!^'IEC958 Default PCM'!) {  
system(qq($amixer_command sset $_ off    )); }
                          when (m!^'IEC958 Front'!)       {  
system(qq($amixer_command sset $_ 0% mute)); }
+                        when (m!^'IEC958 Center/LFE'!)  {  
system(qq($amixer_command sset $_ 0% mute)); }
                          when (m!^'IEC958 Side'!)        {  
system(qq($amixer_command sset $_ 0% mute)); }
                          when (m!^'IEC958 Rear'!)        {  
system(qq($amixer_command sset $_ 0% mute)); }
-                        when (m!^'IEC958 Center/LFE'!)  {  
system(qq($amixer_command sset $_ 0% mute)); }
                      }
                  }
                  close(FILE);

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"minimyth-commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/minimyth-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to