From: Takashi Sakamoto Date: Mon, 8 Dec 2014 15:10:48 +0000 (+0900) Subject: ALSA: oxfw: Add support for capture/playback MIDI messages X-Git-Tag: omap-for-v3.20/drop-legacy-3517~123^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05588d340a128ff5c7b768c517150e31842a78aa;p=pandora-kernel.git ALSA: oxfw: Add support for capture/playback MIDI messages This commit adds MIDI functionality with an assumption of 'if the device has MIDI comformant data channels in its stream formation, the device has one MIDI port'. When no streams have already started, MIDI functionality starts stream with current sampling rate. When MIDI functionality has already starts some streams and PCM functionality is going to start streams at different sampling rate, this driver stops streams once and changes sampling rate, then restarts streams for both PCM/MIDI substreams. Signed-off-by: Takashi Sakamoto Acked-by: Clemens Ladisch Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed