[EGD-6049] Add voice call over HSP

Add support for voice calls over HSP.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
This commit is contained in:
Marcin Smoczyński
2021-04-29 11:53:51 +02:00
parent fbb820c284
commit ef3f840a4d
21 changed files with 328 additions and 76 deletions

View File

@@ -23,6 +23,11 @@ bool InputTranscodeProxy::push(const Span &span)
return getWrappedStream().push(transform->transform(span, transcodingSpaceSpan));
}
bool InputTranscodeProxy::push(void *data, std::size_t dataSize)
{
return push(Span{.data = reinterpret_cast<std::uint8_t *>(data), .dataSize = dataSize});
}
void InputTranscodeProxy::commit()
{
if (isReserved) {