Commit 2e0588e0 authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

small corrections

parent ba5c45ef
......@@ -248,10 +248,11 @@ main_window_dialpad(gboolean show){
void
main_window_callinfo(gboolean show, call_t* current)
{
/*
if(show && !showInfoScreen)
{
infoScreen = create_screen();
gtk_box_pack_start (GTK_BOX (subvbox), infoScreen, FALSE /*expand*/, TRUE /*fill*/, 0 /*padding*/);
gtk_box_pack_start (GTK_BOX (subvbox), infoScreen, FALSE , TRUE , 0 );
gtk_widget_show_all(infoScreen);
screen_set_call(current);
}
......@@ -260,6 +261,7 @@ main_window_callinfo(gboolean show, call_t* current)
gtk_container_remove(GTK_CONTAINER (subvbox), infoScreen);
}
showInfoScreen = show;
*/
}
void
......
......@@ -120,6 +120,7 @@ AudioLayer::openDevice (int indexIn, int indexOut, int sampleRate, int frameSize
//= paFramesPerBufferUnspecified;
int nbDevice = getDeviceCount();
_debug("Nb of audio devices: %i\n",nbDevice);
if (nbDevice == 0) {
_debug("Portaudio detect no sound card.");
return;
......
......@@ -1154,8 +1154,8 @@ ManagerImpl::getCodecList( void )
{
std::vector< std::string > v;
std::string desc=getConfigString(AUDIO, "Codecs.codec1");
std::string rate=clockRate(desc).strstream();
printf("%s\n",rate.c_str());
//std::string rate=clockRate(desc).strstream();
//printf("%s\n",rate.c_str());
v.push_back(getConfigString(AUDIO, "Codecs.codec1"));
v.push_back( getConfigString(AUDIO, "Codecs.codec2"));
v.push_back( getConfigString(AUDIO, "Codecs.codec3"));
......
......@@ -651,4 +651,4 @@ private:
};
t#endif // __MANAGER_H__
#endif // __MANAGER_H__
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment