Twitch SDK (Internal)
audioconstants.h
Go to the documentation of this file.
1 /********************************************************************************************
2 * Twitch Broadcasting SDK
3 *
4 * This software is supplied under the terms of a license agreement with Twitch Interactive, Inc. and
5 * may not be copied or used except in accordance with the terms of that agreement
6 * Copyright (c) 2012-2016 Twitch Interactive, Inc.
7 *********************************************************************************************/
8 
9 #pragma once
10 
11 namespace ttv
12 {
13  namespace broadcast
14  {
15  // TODO: Are these ever going to be non constant?
16  const uint32_t kAudioEncodeRate = 44100;
17  const uint32_t kInputAudioBitsPerSample = 16;
18  const uint32_t kMp3Bitrate = 128;
19  }
20 }
JSON (JavaScript Object Notation).
Definition: adsapi.h:16
const uint32_t kMp3Bitrate
Definition: audioconstants.h:18
const uint32_t kAudioEncodeRate
The sample rate of the audio to be sent on the stream.
Definition: audioconstants.h:16
const uint32_t kInputAudioBitsPerSample
Bits per input audio sample per channel (PCM)
Definition: audioconstants.h:17