Correct typos
This commit is contained in:
parent
5064ec3ac4
commit
14623456ff
1 changed files with 2 additions and 2 deletions
|
@ -31,14 +31,14 @@ public class AudioStream {
|
||||||
this.bandwidth = bandwidth; this.sampling_rate = samplingRate;
|
this.bandwidth = bandwidth; this.sampling_rate = samplingRate;
|
||||||
}
|
}
|
||||||
|
|
||||||
// reveals wether two streams are the same, but have diferent urls
|
// reveals whether two streams are the same, but have different urls
|
||||||
public boolean equalStats(AudioStream cmp) {
|
public boolean equalStats(AudioStream cmp) {
|
||||||
return format == cmp.format
|
return format == cmp.format
|
||||||
&& bandwidth == cmp.bandwidth
|
&& bandwidth == cmp.bandwidth
|
||||||
&& sampling_rate == cmp.sampling_rate;
|
&& sampling_rate == cmp.sampling_rate;
|
||||||
}
|
}
|
||||||
|
|
||||||
// revelas wether two streams are equal
|
// reveals whether two streams are equal
|
||||||
public boolean equals(AudioStream cmp) {
|
public boolean equals(AudioStream cmp) {
|
||||||
return cmp != null && equalStats(cmp)
|
return cmp != null && equalStats(cmp)
|
||||||
&& url == cmp.url;
|
&& url == cmp.url;
|
||||||
|
|
Loading…
Reference in a new issue