equal
deleted
inserted
replaced
21 |
21 |
22 using namespace QTMS; |
22 using namespace QTMS; |
23 using namespace TMS; |
23 using namespace TMS; |
24 |
24 |
25 QTMSG729Format::QTMSG729Format() |
25 QTMSG729Format::QTMSG729Format() |
26 { |
26 { |
27 } |
27 } |
28 |
28 |
29 QTMSG729Format::~QTMSG729Format() |
29 QTMSG729Format::~QTMSG729Format() |
30 { |
30 { |
31 } |
31 } |
32 |
32 |
33 gint QTMSG729Format::SetVADMode(const gboolean aVad) |
33 gint QTMSG729Format::SetVADMode(const gboolean aVad) |
34 { |
34 { |
35 gint status(QTMS_RESULT_UNINITIALIZED_OBJECT); |
35 gint status(QTMS_RESULT_UNINITIALIZED_OBJECT); |
36 if (iFormat) |
36 if (iFormat) { |
37 { |
|
38 status = static_cast<TMSG729Format*> (iFormat)->SetVADMode(aVad); |
37 status = static_cast<TMSG729Format*> (iFormat)->SetVADMode(aVad); |
39 } |
38 } |
40 return status; |
39 return status; |
41 } |
40 } |
42 |
41 |
43 gint QTMSG729Format::GetVADMode(gboolean& aVad) |
42 gint QTMSG729Format::GetVADMode(gboolean& aVad) |
44 { |
43 { |
45 gint status(QTMS_RESULT_UNINITIALIZED_OBJECT); |
44 gint status(QTMS_RESULT_UNINITIALIZED_OBJECT); |
46 if (iFormat) |
45 if (iFormat) { |
47 { |
|
48 status = static_cast<TMSG729Format*> (iFormat)->GetVADMode(aVad); |
46 status = static_cast<TMSG729Format*> (iFormat)->GetVADMode(aVad); |
49 } |
47 } |
50 return status; |
48 return status; |
51 } |
49 } |
52 |
50 |
53 // End of file |
51 // End of file |