mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 10:40:05 +08:00
parent
6f92ef2f3b
commit
1513e9a857
@ -147,12 +147,7 @@ public:
|
||||
* 是否已经初始化
|
||||
*/
|
||||
bool ready() override {
|
||||
return _ready;
|
||||
}
|
||||
|
||||
bool inputFrame(const Frame::Ptr &frame) override {
|
||||
_ready = true;
|
||||
return AudioTrack::inputFrame(frame);
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -176,7 +171,6 @@ public:
|
||||
return _channels;
|
||||
}
|
||||
private:
|
||||
bool _ready = false;
|
||||
CodecId _codecid;
|
||||
int _sample_rate;
|
||||
int _channels;
|
||||
|
Loading…
Reference in New Issue
Block a user