mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
driver/audioplay.cpp: cleanup header, init m_SecondsToSkip variable
Origin commit data
------------------
Branch: ni/coolstream
Commit: f095b4e293
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-12-11 (Wed, 11 Dec 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -164,6 +164,7 @@ void CAudioPlayer::init()
|
||||
CBaseDec::Init();
|
||||
state = CBaseDec::STOP;
|
||||
thrPlay = 0;
|
||||
m_SecondsToSkip = 0;
|
||||
}
|
||||
|
||||
void CAudioPlayer::sc_callback(void *arg)
|
||||
@@ -210,6 +211,7 @@ void CAudioPlayer::clearFileData()
|
||||
m_Audiofile.clear();
|
||||
m_played_time=0;
|
||||
m_sc_buffered=0;
|
||||
m_SecondsToSkip = 0;
|
||||
}
|
||||
|
||||
CAudioMetaData CAudioPlayer::getMetaData()
|
||||
|
@@ -37,9 +37,7 @@ class CAudioPlayer
|
||||
private:
|
||||
time_t m_played_time;
|
||||
int m_sc_buffered;
|
||||
FILE *soundfd;
|
||||
pthread_t thrPlay;
|
||||
FILE *fp;
|
||||
CBaseDec::State state;
|
||||
static void* PlayThread(void*);
|
||||
void clearFileData();
|
||||
@@ -47,7 +45,6 @@ private:
|
||||
|
||||
protected:
|
||||
CAudiofile m_Audiofile;
|
||||
bool SetDSP(int soundfd, int fmt, unsigned int dsp_speed, unsigned int channels);
|
||||
|
||||
public:
|
||||
static CAudioPlayer* getInstance();
|
||||
|
Reference in New Issue
Block a user