Refactor: Use XDataStream instead of QDataStream
This commit is contained in:
parent
d9aa25c4af
commit
73ab1a368a
@ -3,22 +3,21 @@
|
||||
|
||||
#include "xasset.h"
|
||||
#include "xaudioformatinfo.h"
|
||||
|
||||
class XAudioStreamInfo;
|
||||
#include "xaudiostreaminfo.h"
|
||||
|
||||
class XAudioSourceFormat : public XAsset
|
||||
{
|
||||
public:
|
||||
XAudioSourceFormat();
|
||||
explicit XAudioSourceFormat();
|
||||
~XAudioSourceFormat();
|
||||
|
||||
virtual void ParseData(QDataStream* aStream) override;
|
||||
virtual void ParseData(XDataStream* aStream) override;
|
||||
virtual void Clear() override;
|
||||
|
||||
private:
|
||||
quint8 mSampleType;
|
||||
XAudioStreamInfo* mStreamInfo;
|
||||
XAudioFormatInfo* mAudioFormatInfo;
|
||||
XAudioStreamInfo mStreamInfo;
|
||||
XAudioFormatInfo mAudioFormatInfo;
|
||||
};
|
||||
|
||||
#endif // XAUDIOSOURCEFORMAT_H
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user