////////////////////////////////////////////////////////////////////////////////
// CONFIDENTIAL and PROPRIETARY software of Magewell Electronics Co., Ltd.
// Copyright (c) 2011-2019 Magewell Electronics Co., Ltd. (Nanjing)
// All rights reserved.
// This copyright notice MUST be reproduced on all authorized copies.
////////////////////////////////////////////////////////////////////////////////

#pragma once

#include <stdint.h>

#ifdef __cplusplus
extern "C" {
#endif

int MWAudioRenderCreate(uint32_t sampleRate, uint32_t channels, uint32_t bitsPerSample, void **p_handle);
void MWAudioRenderDestroy(void *handle);

int MWAudioRenderStart (void *handle);
void MWAudioRenderStop(void *handle);

int MWAudioRenderPut(void *handle, uint8_t *frame, uint32_t frameSize);

#ifdef __cplusplus
}
#endif
