Mercurial > hg > svcore
comparison base/PlayParameters.cpp @ 843:e802e550a1f2
Drop std:: from cout, cerr, endl -- pull these in through Debug.h
author | Chris Cannam |
---|---|
date | Tue, 26 Nov 2013 13:35:08 +0000 |
parents | b4a8d8221eaf |
children | 1f98e28f70c6 |
comparison
equal
deleted
inserted
replaced
842:23d3a6eca5c3 | 843:e802e550a1f2 |
---|---|
79 } | 79 } |
80 | 80 |
81 void | 81 void |
82 PlayParameters::setPlayMuted(bool muted) | 82 PlayParameters::setPlayMuted(bool muted) |
83 { | 83 { |
84 // std::cerr << "PlayParameters: setPlayMuted(" << muted << ")" << std::endl; | 84 // cerr << "PlayParameters: setPlayMuted(" << muted << ")" << endl; |
85 if (m_playMuted != muted) { | 85 if (m_playMuted != muted) { |
86 m_playMuted = muted; | 86 m_playMuted = muted; |
87 emit playMutedChanged(muted); | 87 emit playMutedChanged(muted); |
88 emit playAudibleChanged(!muted); | 88 emit playAudibleChanged(!muted); |
89 emit playParametersChanged(); | 89 emit playParametersChanged(); |
91 } | 91 } |
92 | 92 |
93 void | 93 void |
94 PlayParameters::setPlayAudible(bool audible) | 94 PlayParameters::setPlayAudible(bool audible) |
95 { | 95 { |
96 // std::cerr << "PlayParameters(" << this << "): setPlayAudible(" << audible << ")" << std::endl; | 96 // cerr << "PlayParameters(" << this << "): setPlayAudible(" << audible << ")" << endl; |
97 setPlayMuted(!audible); | 97 setPlayMuted(!audible); |
98 } | 98 } |
99 | 99 |
100 void | 100 void |
101 PlayParameters::setPlayPan(float pan) | 101 PlayParameters::setPlayPan(float pan) |
130 void | 130 void |
131 PlayParameters::setPlayPluginConfiguration(QString configuration) | 131 PlayParameters::setPlayPluginConfiguration(QString configuration) |
132 { | 132 { |
133 if (m_playPluginConfiguration != configuration) { | 133 if (m_playPluginConfiguration != configuration) { |
134 m_playPluginConfiguration = configuration; | 134 m_playPluginConfiguration = configuration; |
135 // std::cerr << "PlayParameters(" << this << "): setPlayPluginConfiguration to \"" << configuration << "\"" << std::endl; | 135 // cerr << "PlayParameters(" << this << "): setPlayPluginConfiguration to \"" << configuration << "\"" << endl; |
136 emit playPluginConfigurationChanged(configuration); | 136 emit playPluginConfigurationChanged(configuration); |
137 emit playParametersChanged(); | 137 emit playParametersChanged(); |
138 } | 138 } |
139 } | 139 } |
140 | 140 |