linux/sound/synth/emux
Oswald Buddenhagen 877d1e81c7 ALSA: emux: fix init of patch_info.truesize in load_data()
The field is explicitly documented to be initialized by the driver
(which it actually is). Also, using patch_info.size would be actually
wrong for 16-bit data, as one field counts samples, while the other
counts bytes.

load_guspatch() already did it right.

Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Message-ID: <20240406064830.1029573-5-oswald.buddenhagen@gmx.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2024-04-07 08:35:46 +02:00
..
emux.c ALSA: synth: Save a few bytes of memory when registering a 'snd_emux' 2024-01-22 13:04:22 +01:00
emux_effect.c ALSA: synth: Fix assignment in if condition 2021-06-09 17:30:35 +02:00
emux_hwdep.c ALSA: emux: prune unused parameter from snd_soundfont_load_guspatch() 2024-04-07 08:35:45 +02:00
emux_nrpn.c ALSA: emux: Avoid potential array out-of-bound in snd_emux_xg_control() 2023-02-07 14:32:33 +01:00
emux_oss.c ALSA: emux: prune unused parameter from snd_soundfont_load_guspatch() 2024-04-07 08:35:45 +02:00
emux_proc.c ALSA: emux: fix /proc teardown at module unload 2024-04-07 08:35:44 +02:00
emux_seq.c ALSA: emux: fix validation of snd_emux.num_ports 2024-04-07 08:35:46 +02:00
emux_synth.c ALSA: emu10k1: fix synthesizer pitch for E-MU cards at 44.1 kHz 2023-06-13 07:42:08 +02:00
emux_voice.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
soundfont.c ALSA: emux: fix init of patch_info.truesize in load_data() 2024-04-07 08:35:46 +02:00