Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
NGIAgoraAudioMixerSource.h
1//
2// Agora SDK
3// Created by wangqin in 2023-05.
4// Copyright (c) 2018 Agora.io. All rights reserved.
5//
6
7#pragma once // NOLINT(build/header_guard)
8
9#include "AgoraBase.h"
10#include "AgoraRefPtr.h"
11#include "IAgoraService.h"
12#include <api/cpp/aosl_ares_class.h>
13
14namespace agora {
15namespace rtc {
16
17class IAudioTrack;
24 class IAudioMixerSource : public RefCountInterface {
25public:
34 virtual int addAudioTrack(agora_refptr<IAudioTrack> track, bool is_remote, aosl_ref_t ares = AOSL_REF_INVALID) = 0;
42 virtual int removeAudioTrack(agora_refptr<IAudioTrack> track, bool is_remote, aosl_ref_t ares = AOSL_REF_INVALID) = 0;
43};
44
45}
46}
agora::RefCountInterface
Definition AgoraRefPtr.h:31
agora::agora_refptr
Definition AgoraRefPtr.h:44
agora::rtc::IAudioMixerSource
Definition NGIAgoraAudioMixerSource.h:24
agora::rtc::IAudioMixerSource::addAudioTrack
virtual int addAudioTrack(agora_refptr< IAudioTrack > track, bool is_remote, aosl_ref_t ares=AOSL_REF_INVALID)=0
agora::rtc::IAudioMixerSource::removeAudioTrack
virtual int removeAudioTrack(agora_refptr< IAudioTrack > track, bool is_remote, aosl_ref_t ares=AOSL_REF_INVALID)=0
agora::rtc::IAudioTrack
Definition NGIAgoraAudioTrack.h:59
agora::rtc
Definition AgoraExtensions.h:5
agora
Definition AgoraAtomicOps.h:21