genode/repos/dde_oss/src/drivers/audio_out/include/audio.h
Norman Feske ca971bbfd8 Move repositories to 'repos/' subdirectory
This patch changes the top-level directory layout as a preparatory
step for improving the tools for managing 3rd-party source codes.
The rationale is described in the issue referenced below.

Issue #1082
2014-05-14 16:08:00 +02:00

28 lines
501 B
C

/*
* \brief Audio handling
* \author Sebastian Sumpf
* \date 2012-11-20
*/
/*
* Copyright (C) 2012-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 _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, unsigned size);
#endif /* _INCLUDE__AUDIO_H_ */