Skip to content

Commit

Permalink
Delete trailing whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusLlewellyn committed Jan 16, 2020
1 parent 26d507c commit cb78daa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/opusCodec/src/OpusEncoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ int AthenaOpusEncoder::getVBRConstraint() const {
void AthenaOpusEncoder::setVBRConstraint(int vbr_const) {
assert(_encoder);
int errorCode = opus_encoder_ctl(_encoder, OPUS_SET_VBR_CONSTRAINT(vbr_const));

if (errorCode != OPUS_OK) {
qCWarning(encoder) << "Error when setting VBR constraint to " << vbr_const << ": " << errorToString(errorCode);
}
Expand All @@ -163,7 +163,7 @@ int AthenaOpusEncoder::getMaxBandwidth() const {
void AthenaOpusEncoder::setMaxBandwidth(int maxBandwidth) {
assert(_encoder);
int errorCode = opus_encoder_ctl(_encoder, OPUS_SET_MAX_BANDWIDTH(maxBandwidth));

if (errorCode != OPUS_OK) {
qCWarning(encoder) << "Error when setting max bandwidth to " << maxBandwidth << ": " << errorToString(errorCode);
}
Expand Down

0 comments on commit cb78daa

Please sign in to comment.