fix alsa define

This commit is contained in:
mpromonet 2021-04-04 17:47:23 +02:00
parent cb86cfb49d
commit 5853217a47

View File

@ -68,7 +68,7 @@ class BaseServerMediaSubsession
static std::string getAudioRtpFormat(int format, int sampleRate, int channels) static std::string getAudioRtpFormat(int format, int sampleRate, int channels)
{ {
std::ostringstream os; std::ostringstream os;
#ifdef HAVE_SOUND #ifdef HAVE_ALSA
os << "audio/"; os << "audio/";
switch (format) { switch (format) {
case SND_PCM_FORMAT_A_LAW: case SND_PCM_FORMAT_A_LAW: