genode/repos/os/src/drivers/audio/linux/alsa.h

33 lines
603 B
C

/*
* \brief ALSA-based audio for Linux API
* \author Sebastian Sumpf
* \author Christian Helmuth
* \date 2009-12-04
*/
/*
* Copyright (C) 2009-2013 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
#ifndef _ALSA_H_
#define _ALSA_H_
#ifdef __cplusplus
extern "C" {
#endif
int audio_drv_init(void);
void audio_drv_adopt_myself();
int audio_drv_play(void *data, int frame_cnt);
void audio_drv_stop(void);
void audio_drv_start(void);
#ifdef __cplusplus
}
#endif
#endif /* _ALSA_H_ */