Initial commit
[camargo/neiasound.git] / src / nSoundStream.cpp
1 #include "nSoundStream.h"
2 #include "nSoundBag.h"
3
4 nSoundStream::nSoundStream(QObject *parent) :
5     QObject(parent)
6 {
7 }
8
9 nSoundBag *nSoundStream::createSoundBag(QObject *parent)
10 {
11     nSoundBag * bag = new nSoundBag( format(), frames(), frequency() );
12     read(bag->m_data, frames());
13     return bag;
14 }