/[qspeakers]/branches/qtcharts/optimizer.cpp
ViewVC logotype

Diff of /branches/qtcharts/optimizer.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 219 by ben, Sun Mar 18 13:50:00 2018 UTC revision 220 by ben, Sun Mar 18 21:16:30 2018 UTC
# Line 28  Optimizer::Optimizer(const Speaker &spea Line 28  Optimizer::Optimizer(const Speaker &spea
28    
29  void Optimizer::genericOptimizeBox()  void Optimizer::genericOptimizeBox()
30  {  {
31      if (this->type == BOX_SEALED) {      if (type == BOX_SEALED) {
32          SealedBox *b = (SealedBox *)box;          SealedBox *b = (SealedBox *)box;
33          double qr = 0.707 / speaker.getQts();          double qr = 0.707 / speaker.getQts();
34          double vr = pow(qr, 2.0) - 1;          double vr = pow(qr, 2.0) - 1;

Legend:
Removed from v.219  
changed lines
  Added in v.220

  ViewVC Help
Powered by ViewVC 1.1.26