Skip to content
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