Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
Redstart
Commits
84d98645
Commit
84d98645
authored
Nov 24, 2017
by
Dipl.-Ing. Jonas Stienen
Browse files
Fixing problem with experimental session config
parent
5b42d232
Changes
2
Show whitespace changes
Inline
Side-by-side
src/RedstartSessionExperimentalTalkthroughDialog.cpp
View file @
84d98645
...
@@ -81,8 +81,8 @@ QVariantHash RedstartSessionExperimentalTalkthroughDialog::GetCoreConfig() const
...
@@ -81,8 +81,8 @@ QVariantHash RedstartSessionExperimentalTalkthroughDialog::GetCoreConfig() const
oDevice
[
"Type"
]
=
"LS"
;
oDevice
[
"Type"
]
=
"LS"
;
oDevice
[
"Channels"
]
=
sChannelNumber
;
oDevice
[
"Channels"
]
=
sChannelNumber
;
QString
sID
=
"
OutputDevice:
GenericDevice"
+
sChannelNumber
;
QString
sID
=
"GenericDevice"
+
sChannelNumber
;
oFinalCoreConfig
[
sID
]
=
oDevice
;
oFinalCoreConfig
[
"OutputDevice:"
+
sID
]
=
oDevice
;
if
(
i
++
==
0
)
if
(
i
++
==
0
)
sDeviceNames
=
sID
;
sDeviceNames
=
sID
;
else
else
...
@@ -95,7 +95,7 @@ QVariantHash RedstartSessionExperimentalTalkthroughDialog::GetCoreConfig() const
...
@@ -95,7 +95,7 @@ QVariantHash RedstartSessionExperimentalTalkthroughDialog::GetCoreConfig() const
oFinalCoreConfig
[
"Output:MyGenericOutput"
]
=
oOutput
;
oFinalCoreConfig
[
"Output:MyGenericOutput"
]
=
oOutput
;
QVariantHash
oReproduction
;
QVariantHash
oReproduction
;
oReproduction
[
"Class"
]
=
"Talktrough"
;
oReproduction
[
"Class"
]
=
"Talkt
h
rough"
;
oReproduction
[
"Outputs"
]
=
"MyGenericOutput"
;
oReproduction
[
"Outputs"
]
=
"MyGenericOutput"
;
oFinalCoreConfig
[
"Reproduction:MyGenericTalkthrough"
]
=
oReproduction
;
oFinalCoreConfig
[
"Reproduction:MyGenericTalkthrough"
]
=
oReproduction
;
...
@@ -143,35 +143,3 @@ void RedstartSessionExperimentalTalkthroughDialog::on_pushButton_select_demo_sou
...
@@ -143,35 +143,3 @@ void RedstartSessionExperimentalTalkthroughDialog::on_pushButton_select_demo_sou
}
}
}
}
}
}
/*
void RedstartSessionBinauralHeadphonesDialog::on_pushButton_BrowseHRIR_clicked()
{
QFileDialog fd;
fd.setNameFilter( "DAFF files (*.daff)" );
fd.setViewMode( QFileDialog::Detail );
if( m_oLastBasePath.exists() )
fd.setDirectory( m_oLastBasePath );
else
fd.setDirectory( QDir( QApplication::applicationDirPath() ) );
if( fd.exec() )
{
QStringList lFiles = fd.selectedFiles();
if( lFiles.empty() == false )
{
QString sFilePath = lFiles[ 0 ];
QFile oFile( sFilePath );
if( oFile.exists() )
{
m_oHRIRBasePath = fd.directory();
m_oLastBasePath = m_oHRIRBasePath;
}
ui->lineEdit_macro_DefaultHRIR->setText( sFilePath );
}
}
}
*/
\ No newline at end of file
src/RedstartWindow.cpp
View file @
84d98645
...
@@ -598,8 +598,12 @@ void RedstartWindow::on_actionDefault_experimental_session_triggered()
...
@@ -598,8 +598,12 @@ void RedstartWindow::on_actionDefault_experimental_session_triggered()
void
RedstartWindow
::
on_actionRunSimpleExample_triggered
()
void
RedstartWindow
::
on_actionRunSimpleExample_triggered
()
{
{
try
try
{
{
if
(
!
m_pVAInterface
)
VA_EXCEPT2
(
INVALID_PARAMETER
,
"No VA interface available. Please start a session, first."
);
RunSimpleExample
(
m_pVAInterface
);
RunSimpleExample
(
m_pVAInterface
);
}
}
catch
(
CVAException
&
e
)
catch
(
CVAException
&
e
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment