diff options
| author | Piotr Pawlow <pp@siedziba.pl> | 2014-03-14 01:04:56 +0100 |
|---|---|---|
| committer | Piotr Pawlow <pp@siedziba.pl> | 2014-03-14 01:04:56 +0100 |
| commit | 56acbfafc18f8716959ee7e0abe3bbfeb8f81056 (patch) | |
| tree | 0742b76656458489507348f6877479dd4d430f8e /src/lingot-audio-portaudio.h | |
| parent | 9bc63f42d03ef071132142c2462b03b992b95f3b (diff) | |
- add portaudio
Diffstat (limited to 'src/lingot-audio-portaudio.h')
| -rw-r--r-- | src/lingot-audio-portaudio.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/lingot-audio-portaudio.h b/src/lingot-audio-portaudio.h new file mode 100644 index 0000000..615ae7c --- /dev/null +++ b/src/lingot-audio-portaudio.h @@ -0,0 +1,34 @@ +/* + * lingot, a musical instrument tuner. + * + * Copyright (C) 2004-2011 Ibán Cereijo Graña, Jairo Chapela Martínez. + * + * This file is part of lingot. + * + * lingot is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * lingot is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with lingot; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#ifndef __LINGOT_AUDIO_PORTAUDIO_H__ +#define __LINGOT_AUDIO_PORTAUDIO_H__ + +#include "lingot-audio.h" + +LingotAudioHandler* lingot_audio_portaudio_new(char* device, int sample_rate); +void lingot_audio_portaudio_destroy(LingotAudioHandler*); +int lingot_audio_portaudio_read(LingotAudioHandler*); +LingotAudioSystemProperties* lingot_audio_portaudio_get_audio_system_properties( + audio_system_t); + +#endif |
