linux - Get ALSA peak value from C code -
i'm trying retrieve current audio peak value using alsa , c. prefer have value scalar between 0.0 , 1.0 (or perhaps 0 , 100). on windows use iaudiometerinformation allows me construct basic vu meter.
edit: referring detecting speaker output only, not microphone.
alsa not have current audio peak value.
loop on samples maximum value when you're writing or reading them.
Comments
Post a Comment