diff --git a/android/sound.cpp b/android/sound.cpp index ebbdc831..4a26cf5d 100644 --- a/android/sound.cpp +++ b/android/sound.cpp @@ -205,6 +205,13 @@ void CSound::Stop() int CSound::Init ( const int iNewPrefMonoBufferSize ) { + + +// TODO make use of the following: +// String sampleRate = am.getProperty(AudioManager.PROPERTY_OUTPUT_SAMPLE_RATE)); +// String framesPerBuffer = am.getProperty(AudioManager.PROPERTY_OUTPUT_FRAMES_PER_BUFFER)); + + // store buffer size iOpenSLBufferSizeMono = iNewPrefMonoBufferSize; @@ -215,7 +222,7 @@ int CSound::Init ( const int iNewPrefMonoBufferSize ) // TODO: somehow if the following line is enabled, we get a crash... - iOpenSLBufferSizeStereo = 2 * iOpenSLBufferSizeMono; +// iOpenSLBufferSizeStereo = 2 * iOpenSLBufferSizeMono; // create memory for intermediate audio buffer vecsTmpAudioSndCrdStereo.Init ( iOpenSLBufferSizeStereo ); diff --git a/src/connectdlg.cpp b/src/connectdlg.cpp index 5278b92e..4d0b9274 100755 --- a/src/connectdlg.cpp +++ b/src/connectdlg.cpp @@ -89,6 +89,11 @@ CConnectDlg::CConnectDlg ( const bool bNewShowCompleteRegList, // make sure the connect button has the focus butConnect->setFocus(); +#ifdef ANDROID + // for the android version maximize the window + setWindowState ( Qt::WindowMaximized ); +#endif + // Connections ------------------------------------------------------------- // list view