equal
deleted
inserted
replaced
21 using namespace QTMS; |
21 using namespace QTMS; |
22 using namespace TMS; |
22 using namespace TMS; |
23 |
23 |
24 QTMSSpeakerSink::QTMSSpeakerSink() : |
24 QTMSSpeakerSink::QTMSSpeakerSink() : |
25 iSink(NULL) |
25 iSink(NULL) |
26 { |
26 { |
27 } |
27 } |
28 |
28 |
29 QTMSSpeakerSink::~QTMSSpeakerSink() |
29 QTMSSpeakerSink::~QTMSSpeakerSink() |
30 { |
30 { |
31 delete (static_cast<TMSSpeakerSink*> (iSink)); |
31 delete (static_cast<TMSSpeakerSink*> (iSink)); |
32 } |
32 } |
33 |
33 |
34 gint QTMSSpeakerSink::GetType(QTMSSinkType& sinktype) |
34 gint QTMSSpeakerSink::GetType(QTMSSinkType& sinktype) |
35 { |
35 { |
36 gint status(QTMS_RESULT_UNINITIALIZED_OBJECT); |
36 gint status(QTMS_RESULT_UNINITIALIZED_OBJECT); |
37 if (iSink) |
37 if (iSink) { |
38 { |
|
39 //status = iSink->GetType(sinktype); //should be ok |
38 //status = iSink->GetType(sinktype); //should be ok |
40 status = static_cast<TMSSpeakerSink*> (iSink)->GetType(sinktype); |
39 status = static_cast<TMSSpeakerSink*> (iSink)->GetType(sinktype); |
41 } |
40 } |
42 return status; |
41 return status; |
43 } |
42 } |
44 |
43 |
45 // End of file |
44 // End of file |