Revert "Fix path to libaoss.so."

This reverts commit 53e8f2dace57cd428e046059ac7172e58d206429.

This breaks the multi-arch usage.  The original code uses ${exec_prefix}
intentionally together with \$LIB (note the backslash here), so that
ld.so itself expands the right path for both 32 and 64bit archs.

Bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=874331
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Fix the argument passed to snd_pcm_dump_setup()

Although it's currently disabled via ifdef, better to fix it so that
any other people won't fall into the same hole like me.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Workaround for aoss + dmix with unaligned rates

When an OSS stream is setup (e.g. two periods) with a rate that
doesn't align with the fixed rate of the slave PCM, dmix can't
establish the hw_params properly.  As a dirty workaround, set either
only min or max periods so that they don't conflict with each other.

Bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=874342
Signed-off-by: Takashi Iwai <tiwai@suse.de>