Skip to content

Commit

Permalink
Merge pull request #1717 from DSheirer/1681-audio-recordings-incorrec…
Browse files Browse the repository at this point in the history
…t-system-and-site

#1681 Audio Recorder Mixing Up System and Site When Decoding Multiple Systems
  • Loading branch information
DSheirer authored Nov 10, 2023
2 parents a848b21 + 15352b9 commit b51c807
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ public void stop(Channel channel) throws ChannelException
* @param request containing channel and other details
* @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();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ protected void setPLL(long frequency, boolean controlI2C) throws UsbException
writeRegister(Register.DIVIDER, (byte) (div_num << 5), controlI2C);
/* Get the integral number for this divider and frequency */
Integral integral = divider.getIntegral(frequency);
System.out.println("Using divider [" + divider + "] integral [" + integral + "] for [" + frequency + "]");
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
fractional setting, otherwise turn it off */
Expand Down

0 comments on commit b51c807

Please sign in to comment.