|
2010-08-28
, 05:41
|
Posts: 5 |
Thanked: 1 time |
Joined on Aug 2010
|
#2
|
hi,
i found an N800 example code to unmute / mute sound of mixer.
The mixer device is referenced in /dev/mixer.
But when i look for /dev/mixer in N900 device, i didn't find it.
Is it normal ?
Thanks for your help.
amixer -c 0 sset "Speaker Function" Off amixer -c 0 sset "Speaker Function" On
amixer -c 0 sset "Earphone Function" On amixer -c 0 sset "Earphone" 118 amixer -c 0 sset "Mono DAC" 118 amixer -c 0 sset "Right DAC_R1 Mixer Mono" on amixer -c 0 sset "Left DAC_L1 Mixer Mono" on amixer -c 0 sset "Speaker Function" Off
The Following User Says Thank You to pospani For This Useful Post: | ||
|
2010-08-28
, 21:16
|
Posts: 116 |
Thanked: 4 times |
Joined on Jan 2010
|
#3
|
You can mute/unmute sound simply by calling:
You also can route all sound to Earphone by:Code:amixer -c 0 sset "Speaker Function" Off amixer -c 0 sset "Speaker Function" On
Code:amixer -c 0 sset "Earphone Function" On amixer -c 0 sset "Earphone" 118 amixer -c 0 sset "Mono DAC" 118 amixer -c 0 sset "Right DAC_R1 Mixer Mono" on amixer -c 0 sset "Left DAC_L1 Mixer Mono" on amixer -c 0 sset "Speaker Function" Off
|
2010-08-28
, 21:23
|
Posts: 200 |
Thanked: 300 times |
Joined on Nov 2009
@ The Netherlands
|
#4
|
You can mute/unmute sound simply by calling:
You also can route all sound to Earphone by:Code:amixer -c 0 sset "Speaker Function" Off amixer -c 0 sset "Speaker Function" On
Code:amixer -c 0 sset "Earphone Function" On amixer -c 0 sset "Earphone" 118 amixer -c 0 sset "Mono DAC" 118 amixer -c 0 sset "Right DAC_R1 Mixer Mono" on amixer -c 0 sset "Left DAC_L1 Mixer Mono" on amixer -c 0 sset "Speaker Function" Off
|
2010-08-29
, 06:32
|
Posts: 5 |
Thanked: 1 time |
Joined on Aug 2010
|
#5
|
Hi,
Thank you for your help.
amixer is a system command ? How to call system command from application ?
Thanks
|
2010-08-29
, 06:38
|
Posts: 5 |
Thanked: 1 time |
Joined on Aug 2010
|
#6
|
|
2010-08-29
, 17:35
|
Posts: 56 |
Thanked: 31 times |
Joined on Jul 2008
@ Austria
|
#8
|
|
2010-08-29
, 20:36
|
Posts: 116 |
Thanked: 4 times |
Joined on Jan 2010
|
#9
|
|
2011-03-18
, 22:47
|
Posts: 40 |
Thanked: 14 times |
Joined on Feb 2010
@ Rio de Janeiro, Brazil
|
#10
|
i found an N800 example code to unmute / mute sound of mixer.
The mixer device is referenced in /dev/mixer.
But when i look for /dev/mixer in N900 device, i didn't find it.
Is it normal ?
Thanks for your help.