comparison base/PlayParameters.cpp @ 30:a6ef94ecbe74

* As previous commit
author Chris Cannam
date Fri, 17 Feb 2006 18:11:08 +0000
parents 8460b3bf8f04
children 39ae3dee27b9
comparison
equal deleted inserted replaced
29:8460b3bf8f04 30:a6ef94ecbe74
15 PlayParameters::setPlayMuted(bool muted) 15 PlayParameters::setPlayMuted(bool muted)
16 { 16 {
17 std::cerr << "PlayParameters: setPlayMuted(" << muted << ")" << std::endl; 17 std::cerr << "PlayParameters: setPlayMuted(" << muted << ")" << std::endl;
18 m_playMuted = muted; 18 m_playMuted = muted;
19 emit playMutedChanged(muted); 19 emit playMutedChanged(muted);
20 emit playAudibleChanged(!muted);
20 emit playParametersChanged(); 21 emit playParametersChanged();
21 } 22 }
22 23
23 void 24 void
24 PlayParameters::setPlayAudible(bool audible) 25 PlayParameters::setPlayAudible(bool audible)
25 { 26 {
26 std::cerr << "PlayParameters: setPlayAudible(" << audible << ")" << std::endl; 27 std::cerr << "PlayParameters(" << this << "): setPlayAudible(" << audible << ")" << std::endl;
27 setPlayMuted(!audible); 28 setPlayMuted(!audible);
28 } 29 }
29 30
30 void 31 void
31 PlayParameters::setPlayPan(float pan) 32 PlayParameters::setPlayPan(float pan)