summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv/sound.c
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-04-21 22:27:27 -0700
committerPavel Roskin <plroskin@gmail.com>2016-04-21 22:27:27 -0700
commit0629b25d5f406bad82f5bd0fa4894ae9667dc48e (patch)
tree268fbc6f1d8bfe9730f83db68d4ddc8933e06c76 /sesman/chansrv/sound.c
parente65bd6b7d7c8177def8fa7c23875b1f0ff13d7ce (diff)
downloadxrdp-proprietary-0629b25d5f406bad82f5bd0fa4894ae9667dc48e.tar.gz
xrdp-proprietary-0629b25d5f406bad82f5bd0fa4894ae9667dc48e.zip
Fix warnings about unused variables and functions
Diffstat (limited to 'sesman/chansrv/sound.c')
-rw-r--r--sesman/chansrv/sound.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sesman/chansrv/sound.c b/sesman/chansrv/sound.c
index a0899f67..66108651 100644
--- a/sesman/chansrv/sound.c
+++ b/sesman/chansrv/sound.c
@@ -103,6 +103,7 @@ static struct xr_wave_format_ex g_pcm_44100 =
g_pcm_44100_data /* data */
};
+#if defined(XRDP_OPUS)
static char g_opus_44100_data[] = { 0 };
static struct xr_wave_format_ex g_opus_44100 =
{
@@ -115,6 +116,7 @@ static struct xr_wave_format_ex g_opus_44100 =
0, /* data size */
g_opus_44100_data /* data */
};
+#endif
#if defined(XRDP_OPUS)