SkyWay Linux SDK
読み取り中…
検索中…
一致する文字列を見つけられません
audio_frame.hpp
1#ifndef SKYWAY_MEDIA_AUDIO_INTERFACE_AUDIO_FRAME_HPP_
2#define SKYWAY_MEDIA_AUDIO_INTERFACE_AUDIO_FRAME_HPP_
3
4#include <cstdint>
5#include <string>
6
7namespace skyway {
8namespace media {
9namespace audio {
10namespace interface {
11
17struct AudioFrame {
22 const void* buffer;
23
29
35
41
47};
48
49} // namespace interface
50} // namespace audio
51} // namespace media
52} // namespace skyway
53
54#endif // SKYWAY_MEDIA_AUDIO_INTERFACE_AUDIO_FRAME_HPP_
オーディオフレーム
Definition audio_frame.hpp:17
const void * buffer
音声データのバッファ
Definition audio_frame.hpp:22
int samples_per_channel
チャンネルあたりのサンプル数
Definition audio_frame.hpp:40
int sample_rate
サンプリングレート
Definition audio_frame.hpp:28
int bits_per_sample
1サンプルあたりのビット数
Definition audio_frame.hpp:46
int channels
チャンネル数
Definition audio_frame.hpp:34