Commit 83428666 authored by sletz's avatar sletz
Browse files

Update JackOSSDriver.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4647 0c269be4-1314-0410-8aa9-9f06e86f4224
parent 866f001c
......@@ -713,7 +713,7 @@ int JackOSSDriver::ProcessSync()
if (fIsMaster) {
ProcessGraphSync();
} else {
fGraphManager->ResumeRefNum(&fClientControl, fSynchroTable);
ResumeRefNum();
}
// Write output buffers for the current cycle
......
......@@ -46,10 +46,10 @@ class JackOSSDriver : public JackAudioDriver
enum { kRead = 1, kWrite = 2, kReadWrite = 3 };
private:
int fInFD;
int fOutFD;
int fBits;
int fSampleFormat;
int fNperiods;
......@@ -57,15 +57,15 @@ class JackOSSDriver : public JackAudioDriver
int fRWMode;
bool fExcl;
bool fIgnoreHW;
unsigned int fInputBufferSize;
unsigned int fOutputBufferSize;
void* fInputBuffer;
void* fOutputBuffer;
bool fFirstCycle;
int OpenInput();
int OpenOutput();
int OpenAux();
......@@ -80,7 +80,7 @@ class JackOSSDriver : public JackAudioDriver
JackOSSDriver(const char* name, const char* alias, JackLockedEngine* engine, JackSynchro* table)
: JackAudioDriver(name, alias, engine, table),
fInFD(-1), fOutFD(-1), fBits(0),
fInFD(-1), fOutFD(-1), fBits(0),
fSampleFormat(0), fNperiods(0), fRWMode(0), fExcl(false), fIgnoreHW(true),
fInputBufferSize(0), fOutputBufferSize(0),
fInputBuffer(NULL), fOutputBuffer(NULL), fFirstCycle(true)
......@@ -90,7 +90,7 @@ class JackOSSDriver : public JackAudioDriver
{}
int Open(jack_nframes_t frames_per_cycle,
int user_nperiods,
int user_nperiods,
jack_nframes_t rate,
bool capturing,
bool playing,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment