genode/repos/os/src/drivers/audio/spec/linux/alsa.h
Stefan Kalkowski ed52d5a211 Introduce 'spec' subdirectories to outline aspects
Instead of holding SPEC-variable dependent files and directories inline
within the repository structure, move them into 'spec' subdirectories
at the corresponding levels, e.g.:

  repos/base/include/spec
  repos/base/mk/spec
  repos/base/lib/mk/spec
  repos/base/src/core/spec
  ...

Moreover, this commit removes the 'platform' directories. That term was
used in an overloaded sense. All SPEC-relative 'platform' directories are
now named 'spec'. Other files, like for instance those related to the
kernel/architecture specific startup library, where moved from 'platform'
directories to explicit, more meaningful places like e.g.: 'src/lib/startup'.

Fix #1673
2015-09-16 13:58:50 +02:00

33 lines
690 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 _DRIVERS__AUDIO__SPEC__LINUX__ALSA_H_
#define _DRIVERS__AUDIO__SPEC__LINUX__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 /* _DRIVERS__AUDIO__SPEC__LINUX__ALSA_H_ */