mirror of
https://github.com/mpromonet/v4l2rtspserver
synced 2024-11-13 13:10:31 +00:00
fix alsa define
This commit is contained in:
parent
cb86cfb49d
commit
5853217a47
@ -68,7 +68,7 @@ class BaseServerMediaSubsession
|
||||
static std::string getAudioRtpFormat(int format, int sampleRate, int channels)
|
||||
{
|
||||
std::ostringstream os;
|
||||
#ifdef HAVE_SOUND
|
||||
#ifdef HAVE_ALSA
|
||||
os << "audio/";
|
||||
switch (format) {
|
||||
case SND_PCM_FORMAT_A_LAW:
|
||||
|
Loading…
Reference in New Issue
Block a user