mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
02e5410381
Audio ids were being stored in a map with const char pointers, thus they were destroyed when call_once finished. To fix this, store std::strings instead.
10 lines
210 B
C++
10 lines
210 B
C++
#pragma once
|
|
|
|
#include <obs.hpp>
|
|
|
|
#include <map>
|
|
|
|
const std::map<int, std::string> &GetAACEncoderBitrateMap();
|
|
const char *GetAACEncoderForBitrate(int bitrate);
|
|
int FindClosestAvailableAACBitrate(int bitrate);
|