platform: DM8168, DVRRDK3.5.
I recently encountered a strange problem。I used cmd amixer to set the board output volume 。
root@dm816x:/opt/dvr_rdk/ti816x/bin# amixer -c 0 cget numid=10 numid=10,iface=MIXER,name='Playback Volume' ; type=INTEGER,access=rw---R--,values=2,min=0,max=255,step=0 : values=255,255 | dBscale-min=-127.00dB,step=0.50dB,mute=1 root@dm816x:/opt/dvr_rdk/ti816x/bin# amixer -c 0 cset numid=10 100 numid=10,iface=MIXER,name='Playback Volume' ; type=INTEGER,access=rw---R--,values=2,min=0,max=255,step=0 : values=100,100 | dBscale-min=-127.00dB,step=0.50dB,mute=1 root@dm816x:/opt/dvr_rdk/ti816x/bin# amixer -c 0 cget numid=10 numid=10,iface=MIXER,name='Playback Volume' ; type=INTEGER,access=rw---R--,values=2,min=0,max=255,step=0 : values=100,100 | dBscale-min=-127.00dB,step=0.50dB,mute=1
and now , the volume have been set to "100,100". Then I used program "aplay" to play a sound ,but it‘s too load. So i check the volume again ,then I
found the volume was modefied to "255,255" again。
root@dm816x:/opt/dvr_rdk/ti816x/bin# aplay moto.wav -D default:CARD=SOUND0 Playing WAVE 'moto.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo root@dm816x:/opt/dvr_rdk/ti816x/bin# amixer -c 0 cget numid=10 numid=10,iface=MIXER,name='Playback Volume' ; type=INTEGER,access=rw---R--,values=2,min=0,max=255,step=0 : values=255,255 | dBscale-min=-127.00dB,step=0.50dB,mute=1
I don't how to solve this problem. I google this issue , but have no use.
Anyone can give me help? thanks.