oss4: Refactor code to make it look more modern
authorBenjamin Otte <otte@redhat.com>
Mon, 22 Mar 2010 15:13:12 +0000 (16:13 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 11 May 2010 18:02:54 +0000 (19:02 +0100)
commitab5f546143021bb2852abf0a6446c3951a2fe56e
tree4de720024bb1faf1dff79463b361fd8cc3665480
parent85124337dcc78a341138df0041dc00db71e8f08f
oss4: Refactor code to make it look more modern

A side effect is that it passes -Wformat-nonliteral and doesn't read
invalid memory in some cases, like when the mixer track contains
a % sign or there is a number but not a known mixer name.
sys/oss4/oss4-mixer.c