Skip to content

Commit ec32c6d

Browse files
committed
errata: missing line of code in chapter 8
1 parent 0874fe3 commit ec32c6d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Errata.markdown

+10
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,16 @@ To fix this, in AudioPluginHost go to the **Options** menu in the menu bar and s
1818

1919
Additionally, you can follow the instructions from the next section, *Playing audio files (Windows)*, and use the AudioFilePlayer project to play sounds.
2020

21+
## Chapter 8, page 170: Missing line of code
22+
23+
In the section *Improving the class*, at the top of page 170 in the PDF and print versions of the book, the reader is asked to change the code in **Parameters.h**. In the provided source code the following line has gone missing:
24+
25+
```c++
26+
const juce::ParameterID gainParamID { "gain", 1 };
27+
```
28+
29+
This line was first added on page 167 and it reappears on page 174. You're not supposed to delete this line. It is a mistake that this line is not included in the code on page 170.
30+
2131
## Xcode error: A build only device cannot be used to run this target
2232
2333
You may get the following error message from Xcode:

0 commit comments

Comments
 (0)