diff options
author | Takashi Iwai <[email protected]> | 2020-03-09 19:58:55 +0100 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2020-03-09 20:02:42 +0100 |
commit | 3bbf9e2f8624432d1f436bf13ddce1cf9db5238d (patch) | |
tree | 334dd9b3782e5d7094f4a0f6303417f295ccc5cf /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | cf4afed90c1f926d12277213b54d830c839a1bda (diff) |
ALSA: pcm: oss: Simplify plugin frame size calculations
Both snd_pcm_plug_client_size() and snd_pcm_plug_slave_size() do the
almost same calculations of calling src_frames() and dst_frames() in
the chain, but just to the different directions with each other.
This patch simplifies those functions. Now they return -EINVAL for
the invalid direction, but practically seen, there is no functional
changes at all.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions