mirror of
https://github.com/mpromonet/v4l2rtspserver
synced 2024-11-16 00:12:56 +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)
|
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:
|
||||||
|
Loading…
Reference in New Issue
Block a user