Support and General Use > Recording
Gain logging
pabouk:
Thank you Petur. I think that this is a very important function for recording.
--- Quote from: petur on September 24, 2007, 03:42:52 AM ---
--- Quote from: lenny on September 23, 2007, 06:47:59 PM ---Might samples be better (more accurate)?
--- End quote ---
That is next to impossible because the data is transferred in chunks using DMA. It will be already hard to have some accurate time in ms...
--- End quote ---
Cannot the DMA controller of the codec chip return the current status (and the sample number) on request?
What I would like to have:
What about logging also the type of the gain change manual / AGC and the AGC type / preset?
petur:
--- Quote from: pabouk on September 28, 2007, 06:42:34 PM ---Cannot the DMA controller of the codec chip return the current status (and the sample number) on request?
What I would like to have:
What about logging also the type of the gain change manual / AGC and the AGC type / preset?
--- End quote ---
1) no: at best it could be checked every transferred chunk but this would make it quite complex because you can't do much in the dma handler. so it would set a flag, wait for the dma handler to report the number of samples and then continue writing the log file....
2) no: the type of change would have to be passed through all layers, and I wouldn't know why you'd want to know it anyway.
I'm open to discussion, however ;)
Davide-NYC:
Petur, buzz me whenever you have a bit of code to test. I'd be happy to help out in that regard.
petur:
sure...
have been non-active again so there will be some delay :/
too much to do, life ought to have 48 hours in a day (at least)
Navigation
[0] Message Index
[*] Previous page
Go to full version