当前位置: 首页 > news >正文

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
http://www.lryc.cn/news/368302.html

相关文章:

  • 一文学习yolov5 实例分割:从训练到部署
  • 【设计模式】行为型设计模式之 策略模式学习实践
  • lua中大数相乘的问题
  • 第一个SpringBoot项目
  • Android 10.0 Launcher修改density禁止布局改变功能实现
  • CAN协议简介
  • (二)JSX基础
  • GB 38469-2019 船舶涂料中有害物质限量检测
  • 汇编:数组-寻址取数据
  • ROS自带的OpenCV库和自己安装版本冲突问题现象及解决方法
  • html+CSS+js部分基础运用19
  • 探索 Debian 常用命令:掌握 Linux 系统管理的重要一步
  • 「C系列」C 作用域规则
  • 【机器学习基础】Python编程10:五个实用练习题的解析与总结
  • 【设计模式】结构型设计模式之 门面模式
  • MAC地址简介
  • 五种网络IO模型
  • VSCode超过390万下载的请求插件
  • 前端 JS 经典:下载的流式传输
  • k8s面试题大全,保姆级的攻略哦(三)
  • 从年金理论到杠杆效应,再到财务报表与投资评估指标
  • K8S - 用kubectl远程访问内网的k8s集群
  • STM32F103C8移植uCOSIII并以不同周期点亮两个LED灯(HAL库方式)【uCOS】【STM32开发板】【STM32CubeMX】
  • 【c语言】qsort函数及泛型冒泡排序的模拟实现
  • MySQL之多表查询—表子查询
  • Java 18风暴来袭:解锁编程新纪元
  • 文件操作(Python和C++版)
  • Git【版本控制命令】
  • 打字侠是一款PWA网站,如何下载到电脑桌面?
  • Scikit-learn使用步骤?使用场景?