equal
deleted
inserted
replaced
63 delete m_endpointSelector; |
63 delete m_endpointSelector; |
64 delete m_mediaControl; |
64 delete m_mediaControl; |
65 delete m_session; |
65 delete m_session; |
66 } |
66 } |
67 |
67 |
68 QMediaControl *AudioCaptureService::control(const char *name) const |
68 QMediaControl *AudioCaptureService::requestControl(const char *name) |
69 { |
69 { |
70 if (qstrcmp(name,QMediaRecorderControl_iid) == 0) |
70 if (qstrcmp(name,QMediaRecorderControl_iid) == 0) |
71 return m_mediaControl; |
71 return m_mediaControl; |
72 |
72 |
73 if (qstrcmp(name,QAudioEncoderControl_iid) == 0) |
73 if (qstrcmp(name,QAudioEncoderControl_iid) == 0) |
80 return m_containerControl; |
80 return m_containerControl; |
81 |
81 |
82 return 0; |
82 return 0; |
83 } |
83 } |
84 |
84 |
|
85 void AudioCaptureService::releaseControl(QMediaControl *control) |
|
86 { |
|
87 Q_UNUSED(control) |
|
88 } |
|
89 |
|
90 |