mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-06-03 00:00:20 +00:00
audin/server: Do not overwrite values of the server audio formats
It just makes the usage of codecs impossible.
This commit is contained in:
parent
a547f8c4b0
commit
1f0b3c8004
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user