mirror of https://github.com/procxx/kepka.git
libtgvoip: return nullptr to avoid compile err p2
Before that commit the function void *AudioOutputALSA::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
a7c6201d15
commit
38f19bbdf0
|
@ -74,6 +74,7 @@ bool AudioOutputALSA::IsPlaying(){
|
|||
|
||||
void* AudioOutputALSA::StartThread(void* arg){
|
||||
((AudioOutputALSA*)arg)->RunThread();
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
void AudioOutputALSA::RunThread(){
|
||||
|
@ -179,4 +180,4 @@ void AudioOutputALSA::EnumerateDevices(std::vector<AudioOutputDevice>& devs){
|
|||
}
|
||||
|
||||
dlclose(lib);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue