pcm_peak code in aplay
It seems to me that the pcm_peak code in aplay doesn't work or maybe i dont understand it's actual function. It shows the same thing over and over no matter what the volume of the audio going through it (captured from mic).
I want to return the decibel level of audio being captured from my soundcard in alsa 0.9x and it seemed an easy enough hack to make in aplay since it found the max peak. should I look somewhere else? Can anyone show me something that maybe does this already or at least finds the max peak of any given interval (console)?
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Quoted 4 lines
It seems to me that the
pcm_peakcode in aplay doesn't work or maybe i dont understand it's actual function. It shows the same thing over and over no matter what the volume of the audio going through it (captured from mic).
then its probably not working on your system for some other reason, since it works just as you think it does on my system (and at least 2 others).
are you sure you really have a variable signal arriving at the input connector that is currently being used for capture?
--p
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Ok, this is strange. arecord is not recording anything from the sound card. I have done this before with arecord so it's nothing new but now it's like i'm recording silence, no matter if i'm capturing the mic, or line in. Capture volume is way up, it doesn't change anything.
(cvs)
Advanced Linux Sound Architecture Driver Version 0.9.0rc1. Compiled on May 23 2002 for kernel 2.4.19-pre8-ac5-preempt.
it's a sblive. i'm using alsamixer to set the capture interface. Has something changed with the last few versions of 0.9x in order to capture?
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
At 02 Jun 2002 09:49:51 -0400,
Quoted 5 lines · Ed Sweetman
Ok, this is strange. arecord is not recording anything from the sound card. I have done this before with arecord so it's nothing new but now it's like i'm recording silence, no matter if i'm capturing the mic, or line in. Capture volume is way up, it doesn't change anything.
did you adjust "AC97 Capture Volume" too?
emu10k1 has a complex routing, and there are many volumes/switches to be adjusted.
Takashi
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
the problem was tha capture flag had to be set for "Capture" in order for any capturing to be done on any other mixer element (which also needs a capture flag set)
Quoted 17 lines · Takashi Iwai
At 02 Jun 2002 09:49:51 -0400,
Quoted 5 lines · Ed Sweetman
Ok, this is strange. arecord is not recording anything from the sound card. I have done this before with arecord so it's nothing new but now it's like i'm recording silence, no matter if i'm capturing the mic, or line in. Capture volume is way up, it doesn't change anything.
did you adjust "AC97 Capture Volume" too?
emu10k1 has a complex routing, and there are many volumes/switches to be adjusted.Takashi
_______________________________________________________________
Quoted 8 lines
Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm