28 lines
491 B
C
28 lines
491 B
C
|
/*
|
||
|
* \brief Audio handling
|
||
|
* \author Sebastian Sumpf
|
||
|
* \date 2012-11-20
|
||
|
*/
|
||
|
|
||
|
/*
|
||
|
* Copyright (C) 2012 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 _INCLUDE__AUDIO_H_
|
||
|
#define _INCLUDE__AUDIO_H_
|
||
|
|
||
|
/**
|
||
|
* Initialize audio if device is present
|
||
|
*/
|
||
|
int audio_init();
|
||
|
|
||
|
/**
|
||
|
* Play data of size
|
||
|
*/
|
||
|
int audio_play(short *data, int size);
|
||
|
|
||
|
#endif /* _INCLUDE__AUDIO_H_ */
|