Files
MuditaOS/module-bsp/board/linux/headset/headset.cpp
Lefucjusz 434a335ef3 [MOS-411] Wired headset audio fix
Fixes non-working wired headset audio
during call
2022-05-16 10:20:48 +02:00

32 lines
659 B
C++

// Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#include "headset.hpp"
namespace bsp
{
namespace headset
{
int32_t Init(xQueueHandle qHandle)
{
return 1;
}
HeadsetState headset_get_data(bool &headsetState, bool &microphoneState, uint8_t &keyEvent, uint8_t &keyCode)
{
return HeadsetState::NoChange;
}
bool IsInserted()
{
return false;
}
int32_t Deinit()
{
return 1;
}
} // namespace headset
} // namespace bsp