Skip to content

Fix compilation errors #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions Jingle/SCJingleConverter/composition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -712,11 +712,9 @@ Composition::ErrorCode Composition::setVoice(Channel chan, QString voiceStr) {
* @return String that is associated with Voice configured for given channel.
*/
const QString& Composition::getVoice(Channel chan) {
switch (chan) {
case RIGHT:
if(chan == RIGHT) {
return voiceStrR;

case LEFT:
} else {
return voiceStrL;
}
}
Expand Down Expand Up @@ -805,11 +803,9 @@ Composition::ErrorCode Composition::setChordIdx(Channel chan, uint32_t chordIdx)
* @return An index referring to which frequency in chords will be played for this channel.
*/
uint32_t Composition::getChordIdx(Channel chan) {
switch (chan) {
case RIGHT:
if(chan == RIGHT) {
return chordIdxR;

case LEFT:
} else {
return chordIdxL;
}
}
Expand Down