a2dp_sd_stream.c

来自「蓝牙a2dp_source_dongle的例程」· C语言 代码 · 共 48 行

C
48
字号
/****************************************************************************
Copyright (C) Cambridge Silicon Radio Ltd. 2004-2006
Part of BlueLab 3.5.2-release

FILE NAME
    a2dp_sd_stream.c

DESCRIPTION
    Streaming support.

NOTES
    
*/


/****************************************************************************
    Header files
*/
#include "a2dp_sd_private.h"
#include "a2dp_sd_kalimba.h"
#include "a2dp_sd_led.h"
#include "a2dp_sd_stream.h"

#include <transform.h>


/****************************************************************************
NAME    
    a2dpSdStreamRequest
    
DESCRIPTION
    Request to start streaming to the remote end.

RETURNS
    
*/
void a2dpSdStreamRequest(const a2dpSourceDongleTaskData *theApp)
{
    /* Update the local state */
    avSourceDongleUpdateA2dpState(a2dp_state_streaming);    

    /* Start Kalimba */
    a2dpSdKalimbaStart(theApp);

    /* Update the flashing LED immediately */
    a2dpSdUpdateLed(0, theApp->a2dpState);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?