Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
avfaudiopreviewdelegate_p.h
Go to the documentation of this file.
1
// Copyright (C) 2021 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
#
ifndef
AVFAUDIOPREVIEWDELEGATE_P_H
5
#
define
AVFAUDIOPREVIEWDELEGATE_P_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#
include
<
QtCore
/
qglobal
.
h
>
19
20
#
include
<
AVFoundation
/
AVFoundation
.
h
>
21
22
QT_BEGIN_NAMESPACE
23
24
class
AVFCameraSession;
25
26
QT_END_NAMESPACE
27
28
@interface AVFAudioPreviewDelegate : NSObject<AVCaptureAudioDataOutputSampleBufferDelegate>
29
30
- (id)init;
31
- (
void
)setupWithCaptureSession: (AVFCameraSession*)session
32
audioOutputDevice: (NSString*)deviceId;
33
- (
void
)renderAudioSampleBuffer:(CMSampleBufferRef)sampleBuffer;
34
- (
void
)resetAudioPreviewDelegate;
35
- (
void
)setVolume: (
float
)volume;
36
- (
void
)setMuted: (
bool
)muted;
37
38
@end
39
40
#
endif
// AVFAUDIOPREVIEWDELEGATE_P_H
QmlIR::Object::id
int id
Definition
qqmlirbuilder_p.h:312
qtmultimedia
src
plugins
multimedia
darwin
camera
avfaudiopreviewdelegate_p.h
Generated on
for Qt by
1.18.0