Skip to content

Commit

Permalink
Merge pull request #234 from drowe67/ms-audio-config
Browse files Browse the repository at this point in the history
Fix typos in code that saves sample rates.
  • Loading branch information
tmiw authored May 5, 2022
2 parents 08cdf3f + 2c7cce6 commit 8ec32e5
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion USER_MANUAL.html
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ <h2 id="tbd-april-2022"><span class="header-section-number">16.1</span> TBD Apri
<li>PSK Reporter: Suppress reporting if we’re playing back a radio file (to avoid false reports). (PR #214)</li>
<li>Filter dialog: Increase length of vertical sliders to simplify fine-tuning. (PR #224)</li>
<li>Refactored audio handling to use pipeline design pattern. (PR #219)</li>
<li>Eliminated requirement to use the same audio sample rate for both mic and speaker devices. (PR #219)</li>
<li>Eliminated requirement to use the same audio sample rate for both mic and speaker devices. (PR #219, #234)</li>
</ul></li>
<li>Build system:
<ul>
Expand Down
2 changes: 1 addition & 1 deletion USER_MANUAL.md
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ LDPC | Low Density Parity Check Codes - a family of powerful FEC codes
* PSK Reporter: Suppress reporting if we're playing back a radio file (to avoid false reports). (PR #214)
* Filter dialog: Increase length of vertical sliders to simplify fine-tuning. (PR #224)
* Refactored audio handling to use pipeline design pattern. (PR #219)
* Eliminated requirement to use the same audio sample rate for both mic and speaker devices. (PR #219)
* Eliminated requirement to use the same audio sample rate for both mic and speaker devices. (PR #219, #234)
2. Build system:
* Add spell checking of codebase on every Git push. (PR #216)
* Build Windows build on every Git push. (PR #220)
Expand Down
Binary file modified USER_MANUAL.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion src/dlg_audiooptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ int AudioOptsDialog::ExchangeData(int inout)
pConfig->Write(wxT("/Audio/soundCard1InSampleRate"), wxGetApp().m_soundCard1InSampleRate);

pConfig->Write(wxT("/Audio/soundCard1OutDeviceName"), wxGetApp().m_soundCard1OutDeviceName);
pConfig->Write(wxT("/Audio/soundCard1InSampleRate"), wxGetApp().m_soundCard1OutSampleRate);
pConfig->Write(wxT("/Audio/soundCard1OutSampleRate"), wxGetApp().m_soundCard1OutSampleRate);

pConfig->Write(wxT("/Audio/soundCard2InDeviceName"), wxGetApp().m_soundCard2InDeviceName);
pConfig->Write(wxT("/Audio/soundCard2InSampleRate"), wxGetApp().m_soundCard2InSampleRate);
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ MainFrame::~MainFrame()
pConfig->Write(wxT("/Audio/soundCard1InSampleRate"), wxGetApp().m_soundCard1InSampleRate);

pConfig->Write(wxT("/Audio/soundCard1OutDeviceName"), wxGetApp().m_soundCard1OutDeviceName);
pConfig->Write(wxT("/Audio/soundCard1InSampleRate"), wxGetApp().m_soundCard1OutSampleRate);
pConfig->Write(wxT("/Audio/soundCard1OutSampleRate"), wxGetApp().m_soundCard1OutSampleRate);

pConfig->Write(wxT("/Audio/soundCard2InDeviceName"), wxGetApp().m_soundCard2InDeviceName);
pConfig->Write(wxT("/Audio/soundCard2InSampleRate"), wxGetApp().m_soundCard2InSampleRate);
Expand Down

0 comments on commit 8ec32e5

Please sign in to comment.