fix generic compile

This commit is contained in:
Frankenstone
2021-02-01 07:38:30 +01:00
committed by Thilo Graf
parent df3ae78c4a
commit 139ef60db4
3 changed files with 8 additions and 5 deletions

View File

@@ -49,7 +49,7 @@ class cAudio : public OpenThreads::Thread
int mixer_fd; /* if we are using the OSS mixer */
int mixer_num; /* oss mixer to use, if any */
AUDIO_FORMAT StreamType;
int StreamType;
AUDIO_SYNC_MODE SyncMode;
bool started;
bool thread_started;
@@ -84,7 +84,8 @@ class cAudio : public OpenThreads::Thread
int Start(void);
int Stop(void);
bool Pause(bool Pcm = true);
void SetStreamType(AUDIO_FORMAT type);
void SetStreamType(int bypass);
int GetStreamType(void) { return StreamType; }
void SetSyncMode(AVSYNC_TYPE Mode);
/* select channels */