audin/server: Do not overwrite values of the server audio formats
It just makes the usage of codecs impossible.
@@ -170,9 +170,6 @@ static UINT audin_server_send_formats(audin_server* audin, wStream* s)
for (i = 0; i < audin->context.num_server_formats; i++)
{
AUDIO_FORMAT format = audin->context.server_formats[i];
- // TODO: Eliminate this
- format.nAvgBytesPerSec =
- format.nSamplesPerSec * format.nChannels * format.wBitsPerSample / 8;
if (!audio_format_write(s, &format))
{
