mirror of https://github.com/procxx/kepka.git
libtgvoip: return nullptr to avoid compile error
Before that commit the function void *AudioInputALSA::StartThread() doesn't return any values. Also please note that this fix should be ported after syncing libtgvoip to upstream! Related to #153.
This commit is contained in:
parent
21e7a1bbb0
commit
a7c6201d15
|
|
@ -71,6 +71,7 @@ void AudioInputALSA::Stop(){
|
||||||
|
|
||||||
void* AudioInputALSA::StartThread(void* arg){
|
void* AudioInputALSA::StartThread(void* arg){
|
||||||
((AudioInputALSA*)arg)->RunThread();
|
((AudioInputALSA*)arg)->RunThread();
|
||||||
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
void AudioInputALSA::RunThread(){
|
void AudioInputALSA::RunThread(){
|
||||||
|
|
@ -176,4 +177,4 @@ void AudioInputALSA::EnumerateDevices(std::vector<AudioInputDevice>& devs){
|
||||||
}
|
}
|
||||||
|
|
||||||
dlclose(lib);
|
dlclose(lib);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue