Skip to content

Commit 510ddfc

Browse files
authored
Fix compilation error in README example (#8)
1 parent d2280c5 commit 510ddfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ And get the samples stored inside it:
3131
```c#
3232
List<FmodSample> samples = bank.Samples;
3333
int frequency = samples[0].Metadata.Frequency; //E.g. 44100
34-
uint numChannels = samples[0].Channels; //2 for stereo, 1 for mono.
34+
uint numChannels = samples[0].Metadata.Channels; //2 for stereo, 1 for mono.
3535
3636
string name = samples[0].Name; //Null if not present in the bank file (which is usually the case).
3737
```

0 commit comments

Comments
 (0)