alsa.audio: Furter work on skeleton
commit8bf2378686d88916ab24da7691763982d7915146
authordeadwood <deadwood@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sat, 10 Oct 2015 19:34:43 +0000 (10 19:34 +0000)
committerdeadwood <deadwood@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sat, 10 Oct 2015 19:34:43 +0000 (10 19:34 +0000)
treea36a414d928622e679aa9e72c195820040a6bae1
parent57299b9a5e818d16157596c38b615dd3b38ccdaa
alsa.audio: Furter work on skeleton

- handle underrun and re-prepare the handle when it happens
- set buffer size to 4096 frames
- increase playslave task priority to 50
- allow the playslave task to sleep when buffer has enough prepared data

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@51139 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
workbench/devs/AHI/Drivers/Alsa/alsa-bridge/alsa.c
workbench/devs/AHI/Drivers/Alsa/alsa-bridge/alsa.h
workbench/devs/AHI/Drivers/Alsa/alsa-bridge/alsa_hostlib.c
workbench/devs/AHI/Drivers/Alsa/alsa-bridge/alsa_hostlib.h
workbench/devs/AHI/Drivers/Alsa/alsa-main.c
workbench/devs/AHI/Drivers/Alsa/alsa-playslave.c