您的位置:首页 > 游戏 > 手游 > LE Audio音频广播新功能Auracast介绍

LE Audio音频广播新功能Auracast介绍

2024/7/6 19:37:10 来源:https://blog.csdn.net/Alex_886/article/details/139508618  浏览:    关键词:LE Audio音频广播新功能Auracast介绍

LE Audio音频广播新功能Auracast介绍

/*!
\copyright  Copyright (c) 2019-2022 Qualcomm Technologies International, Ltd.
            All Rights Reserved.
            Qualcomm Technologies International, Ltd. Confidential and Proprietary.
\file		audio_sources.h
\defgroup   audio_sources Audio Sources
\ingroup    audio_domain
\brief      The audio sources component provides generic API to control any audio source.
 
The audio sources component allows multiple components to register its implementation of one or more interfaces.
Then the component using audio sources can 'route' its call to the specific implementation using audio_source_t source parameter.
In effect component using audio sources and in fact audio sources itself doesn't depend on the code implementing paricular audio source.
 
Each of interfaces works independently from others.
As such any combination of interfaces can be implemented and registered by a component.
 
Typical example would be A2DP profile in BT domain implementing the audio and volume interfaces,
AVRCP profile implementing media control and observer (for absolute volume) interfaces,
and Media Player service using the audio sources component to control it.
 
The interfaces are:
 - Audio - getting parameters required to use an audio source in the audio subsystem
 - Media Control - controlling playback of audio, like pause, fast forward
 - Volume - controlling volume of typical audio sources
 - Volume Control - controlling volume of audio sources where the volume value is determined by a remote device
 - Observer - currently notify on volume change only, and it is used to implement AVRCP absolute volume
 
*/
 
#ifndef AUDIO_SOURCES_H_
#define AUDIO_SOURCES_H_
 
#include "audio_sources_list.h"
#include "audio_sources_audio_interface.h"
#include "audio_sources_media_control_interface.h"
#include "audio_sources_volume_interface.h"
#include "audio_sources_volume_control_interface.h"
#include "audio_sources_observer_interface.h"
#include "source_param_types.h"
 
#include <device.h>
 
/*! @{ */
 
/*! \brief   Audio Sources UI Provider contexts
 
    Each Audio Source implemented in the CAA framework must provide an implementation of
    the UI Provider interface. This interface allows modules such as the Media Player
    service to determine the state of the Audio Source in a manner abstracted from the
    implementation specifics of that particular source, be it USB, line-in, A2DP etc.
 
    This abstracted state information can then be used in the CAA UI domain, services and
    via the Focus interface to allow the Application high level control of Audio use cases.
 
    \warning The values assigned to the symbolic identifiers of this enumerated type
             must not be modified.
 
    \note    This enumeration is used by the Focus Select module to determine relative
             priorities between Audio Sources and Voice Sources. This prioritisation is
             then used to determince which source should be the focus of UI interactions
             or a

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com