alsa.audio: move handling of XRUN when writting to the slave task
[AROS.git] / workbench / devs / AHI / Drivers / Alsa / alsa-bridge / alsa.h
blobea986ad7106e2b62b4a48a33a220957019c72c10
1 /*
2 Copyright © 2015, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <exec/types.h>
8 #define ALSA_XRUN (-32)
10 BOOL ALSA_Init();
11 VOID ALSA_Cleanup();
13 APTR ALSA_Open();
14 VOID ALSA_Close(APTR handle);
16 BOOL ALSA_SetHWParams(APTR handle, ULONG * rate);
18 LONG ALSA_Write(APTR handle, APTR buffer, ULONG size);
20 VOID ALSA_Prepare(APTR handle);
22 LONG ALSA_Avail(APTR handle);