Fixed some windows stuff
This commit is contained in:
		
							parent
							
								
									1f58621b3b
								
							
						
					
					
						commit
						1a71df9a8a
					
				| @ -67,6 +67,7 @@ target_link_libraries(${MODULE_NAME} ${NODEJS_LIBRARIES}) | |||||||
| 
 | 
 | ||||||
| find_package(soundio REQUIRED) | find_package(soundio REQUIRED) | ||||||
| include_directories(${soundio_INCLUDE_DIR}) | include_directories(${soundio_INCLUDE_DIR}) | ||||||
|  | add_compile_definitions(SOUNDIO_STATIC_LIBRARY) | ||||||
| 
 | 
 | ||||||
| find_package(TomMath REQUIRED) | find_package(TomMath REQUIRED) | ||||||
| include_directories(${TomMath_INCLUDE_DIR}) | include_directories(${TomMath_INCLUDE_DIR}) | ||||||
| @ -77,8 +78,10 @@ include_directories(${TomCrypt_INCLUDE_DIR}) | |||||||
| find_package(DataPipes REQUIRED) | find_package(DataPipes REQUIRED) | ||||||
| include_directories(${DataPipes_INCLUDE_DIR}) | include_directories(${DataPipes_INCLUDE_DIR}) | ||||||
| 
 | 
 | ||||||
|  | set(_CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES}) | ||||||
| find_package(Libevent REQUIRED) | find_package(Libevent REQUIRED) | ||||||
| include_directories(${LIBEVENT_INCLUDE_DIRS}) | include_directories(${LIBEVENT_INCLUDE_DIRS}) | ||||||
|  | set(CMAKE_FIND_LIBRARY_SUFFIXES ${_CMAKE_FIND_LIBRARY_SUFFIXES}) | ||||||
| 
 | 
 | ||||||
| find_package(TeaSpeak_SharedLib REQUIRED) | find_package(TeaSpeak_SharedLib REQUIRED) | ||||||
| include_directories(${TeaSpeak_SharedLib_INCLUDE_DIR}) | include_directories(${TeaSpeak_SharedLib_INCLUDE_DIR}) | ||||||
| @ -125,8 +128,7 @@ set(REQUIRED_LIBRARIES | |||||||
| 	${opus_LIBRARIES_STATIC} | 	${opus_LIBRARIES_STATIC} | ||||||
| 
 | 
 | ||||||
| 	${ed25519_LIBRARIES_STATIC} | 	${ed25519_LIBRARIES_STATIC} | ||||||
|     #soundio::static |     soundio::static | ||||||
| 	${soundio_LIBRARIES_STATIC} |  | ||||||
| 
 | 
 | ||||||
| 	spdlog::spdlog_header_only | 	spdlog::spdlog_header_only | ||||||
| 	Nan::Helpers | 	Nan::Helpers | ||||||
|  | |||||||
| @ -105,6 +105,11 @@ void SoundIORecord::read_callback(int frame_count_min, int frame_count_max) { | |||||||
|             return; |             return; | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|  |         if(!areas) { | ||||||
|  |             log_warn(category::audio, tr("Input audio underflow for {} ({} samples)"),  this->device_handle->name, frame_count_max); | ||||||
|  |             return; | ||||||
|  |         } | ||||||
|  | 
 | ||||||
|         /* test for interleaved */ |         /* test for interleaved */ | ||||||
|         { |         { | ||||||
|             char* begin = areas[0].ptr - sizeof(float); |             char* begin = areas[0].ptr - sizeof(float); | ||||||
|  | |||||||
| @ -1,6 +1,6 @@ | |||||||
| { | { | ||||||
|   "name": "TeaClient", |   "name": "TeaClient", | ||||||
|   "version": "1.4.2-5", |   "version": "1.4.3", | ||||||
|   "description": "", |   "description": "", | ||||||
|   "main": "main.js", |   "main": "main.js", | ||||||
|   "scripts": { |   "scripts": { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user