mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 17:35:42 +01:00
Removed misleading and useless mode setting
This commit is contained in:
parent
16b31a3f6c
commit
84d62fd991
1 changed files with 0 additions and 1 deletions
|
@ -634,7 +634,6 @@ static void set_format(void)
|
|||
snd_pcm_munmap(pcm_handle, channel);
|
||||
fcn_flush(pcm_handle, channel); /* to be in right state */
|
||||
memset(¶ms, 0, sizeof(params));
|
||||
params.mode = mode;
|
||||
params.channel = channel;
|
||||
memcpy(¶ms.format, &format, sizeof(format));
|
||||
if (channel == SND_PCM_CHANNEL_PLAYBACK) {
|
||||
|
|
Loading…
Reference in a new issue