1
/***************************************************************************
5
copyright : (C) 2000 by Volker Schroer
7
***************************************************************************/
9
/***************************************************************************
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* based on the work of Moe Wheatley, AE4JY *
16
***************************************************************************/
20
#include <sys/soundcard.h>
21
#include <sys/ioctl.h>
24
#include <sys/types.h>
31
#include "constants.h"
32
/**Class for operating on SoundCard
33
*@author Volker Schroer
36
class CSound :public Input
41
bool open_Device_write(QString Device);
43
bool setParams(QString *errorstring);
44
int getSamples(double *,int); // Reading Samples from Soundcard
45
int putSamples(double *,int);
49
private: // Private attributes
50
/** Type of Operation Mono/Stereo */
56
/** Fragmentsize for Soundcard IO */