added forgotten windows compile fixes and more README

This commit is contained in:
Dave Griffiths 2022-09-18 08:44:43 +01:00
parent b64584b56e
commit 5ef01395c4
4 changed files with 31 additions and 1 deletions

View File

@ -96,4 +96,7 @@ To make a mac app bundle:
This program is free software licenced under GNU General Public
License version 2 (see LICENCE). Written by [Dave
Griffiths at Then Try This](http://thentrythis.org).
Griffiths at Then Try This](http://thentrythis.org) dave@thentrythis.org.
MFCC algo courtesy of the Aquila library by Zbigniew Siciarz MIT/X11
licence 2007-2014 (see brain/src/aquila/LICENCE)

22
brain/src/aquila/LICENCE Normal file
View File

@ -0,0 +1,22 @@
Copyright (c) 2007-2014 Zbigniew Siciarz
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

View File

@ -36,7 +36,9 @@ block_stream::block_stream() :
{
for (u32 i=0; i<NUM_WORKERS; ++i) {
m_workers.push_back(new worker(i,&m_window));
#ifndef WIN32
usleep(1);
#endif
}
}
@ -141,7 +143,9 @@ void block_stream::worker::run() {
cerr<<"ending "<<m_id<<endl;
}
pthread_mutex_unlock(m_worker_mutex);
#ifndef WIN32
usleep(5);
#endif
}
}

View File

@ -15,6 +15,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <vector>
#include <pthread.h>
#include "window.h"
#include "block.h"
#include "spiralcore/sample.h"