fixed off encoding

This commit is contained in:
badaix 2015-01-02 19:21:47 +00:00
parent c44288afde
commit 176ed8abc0
3 changed files with 21 additions and 24 deletions

View file

@ -80,8 +80,9 @@ int main(int argc, char* argv[])
timeval tvChunk;
gettimeofday(&tvChunk, NULL);
long nextTick = chronos::getTickCount();
mkfifo(fifoName.c_str(), 0777);
umask(0);
mkfifo(fifoName.c_str(), 0666);
msg::SampleFormat format(sampleFormat);
size_t duration = 50;
//size_t chunkSize = duration*format.rate*format.frameSize / 1000;