sound: cleanup invalid code.

This commit is contained in:
Zhang Zhaolong 2014-03-12 17:16:06 +08:00
parent 9cf6d1d9ae
commit ffb53ba5e2
1 changed files with 0 additions and 5 deletions

View File

@ -223,11 +223,6 @@ static void rdpsnd_alsa_set_format(rdpsndDevicePlugin* device, AUDIO_FORMAT* for
case WAVE_FORMAT_PCM:
switch (format->wBitsPerSample)
{
case 4:
alsa->format = SND_PCM_FORMAT_S16_LE;
alsa->bytes_per_channel = 2;
break;
case 8:
alsa->format = SND_PCM_FORMAT_S8;
alsa->bytes_per_channel = 1;