mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-19 20:17:25 -05:00
Merge pull request #1717 from DSheirer/1681-audio-recordings-incorrect-system-and-site
#1681 Audio Recorder Mixing Up System and Site When Decoding Multiple Systems
This commit is contained in:
@@ -365,7 +365,7 @@ public class ChannelProcessingManager implements Listener<ChannelEvent>
|
|||||||
* @param request containing channel and other details
|
* @param request containing channel and other details
|
||||||
* @throws ChannelException if a source is not available for the channel
|
* @throws ChannelException if a source is not available for the channel
|
||||||
*/
|
*/
|
||||||
private void startProcessing(ChannelStartProcessingRequest request) throws ChannelException
|
private synchronized void startProcessing(ChannelStartProcessingRequest request) throws ChannelException
|
||||||
{
|
{
|
||||||
Channel channel = request.getChannel();
|
Channel channel = request.getChannel();
|
||||||
|
|
||||||
|
|||||||
@@ -236,7 +236,6 @@ public abstract class R8xEmbeddedTuner extends EmbeddedTuner
|
|||||||
writeRegister(Register.DIVIDER, (byte) (div_num << 5), controlI2C);
|
writeRegister(Register.DIVIDER, (byte) (div_num << 5), controlI2C);
|
||||||
/* Get the integral number for this divider and frequency */
|
/* Get the integral number for this divider and frequency */
|
||||||
Integral integral = divider.getIntegral(frequency);
|
Integral integral = divider.getIntegral(frequency);
|
||||||
System.out.println("Using divider [" + divider + "] integral [" + integral + "] for [" + frequency + "]");
|
|
||||||
writeRegister(Register.PLL, integral.getRegisterValue(), controlI2C);
|
writeRegister(Register.PLL, integral.getRegisterValue(), controlI2C);
|
||||||
/* Calculate the sigma-delta modulator fractional setting. If it's non-zero, power up the sdm and apply the
|
/* Calculate the sigma-delta modulator fractional setting. If it's non-zero, power up the sdm and apply the
|
||||||
fractional setting, otherwise turn it off */
|
fractional setting, otherwise turn it off */
|
||||||
|
|||||||
Reference in New Issue
Block a user