equal
deleted
inserted
replaced
176 if (err == TMS_RESULT_SUCCESS) |
176 if (err == TMS_RESULT_SUCCESS) |
177 { |
177 { |
178 switch (msgBuf.iRequest) |
178 switch (msgBuf.iRequest) |
179 { |
179 { |
180 case ECmdGlobalEffectChange: |
180 case ECmdGlobalEffectChange: |
181 iObserver->QueueEvent(msgBuf.iInt, msgBuf.iStatus, NULL); |
181 TMSVolumeEventChangeData event; |
|
182 event.level = msgBuf.iUint; |
|
183 event.output = static_cast<TMSAudioOutput>(msgBuf.iInt2); |
|
184 event.output_changed = msgBuf.iBool; |
|
185 iObserver->QueueEvent(msgBuf.iInt, msgBuf.iStatus, &event); |
182 break; |
186 break; |
183 case ECmdGlobalRoutingChange: |
187 case ECmdGlobalRoutingChange: |
184 iObserver->QueueEvent(msgBuf.iInt, msgBuf.iStatus, |
188 iObserver->QueueEvent(msgBuf.iInt, msgBuf.iStatus, |
185 &msgBuf.iUint); |
189 &msgBuf.iUint); |
186 break; |
190 break; |