| - -( dyne // software :: culture :: events :: planet :: discussion :: museum \\ freaknet )- - |
00001 00002 // "$Id: decoder.cpp,v 1.1 2004/02/13 16:58:16 jaromil Exp $" 00003 00004 #include <decoder.h> 00005 #include <jutils.h> 00006 #include <config.h> 00007 00008 MuseDec::MuseDec() { 00009 bitrate = samplerate = channels = frames = 0; 00010 seekable = false; err = false; eos = false; 00011 if(pthread_mutex_init (&mutex,NULL) == -1) 00012 error("%i:%s error initializing POSIX thread mutex", 00013 __LINE__,__FILE__); 00014 } 00015 00016 MuseDec::~MuseDec() { 00017 if(pthread_mutex_destroy(&mutex) == -1) 00018 error("error destroying POSIX thread mutex", 00019 __LINE__,__FILE__); 00020 }
|
|
|
|
| Copyleft 2000 - 2008 dyne.org foundation and respective authors. Verbatim copying and distribution is permitted in any medium, provided this notice is preserved. Send inquiries & questions to dyne.org's hackers. |
|