mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-26 07:10:11 +01:00
2021-04-19 Fred Gleason <fredg@paravelsystems.com>
* Fixed regression in 'RDAudioPorts' that caused SQL errors. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -44,7 +44,7 @@ RDAudioPort::RDAudioPort(QString station,int card)
|
||||
"`PORT_NUMBER`,"+ // 00
|
||||
"`LEVEL`,"+ // 01
|
||||
"`TYPE`,"+ // 02
|
||||
"`MODE `"+ // 03
|
||||
"`MODE` "+ // 03
|
||||
"from `AUDIO_INPUTS` where "+
|
||||
"`STATION_NAME`='"+RDEscapeString(port_station)+"' && "+
|
||||
QString().sprintf("`CARD_NUMBER`=%d",port_card);
|
||||
@@ -60,7 +60,7 @@ RDAudioPort::RDAudioPort(QString station,int card)
|
||||
|
||||
sql=QString("select ")+
|
||||
"`PORT_NUMBER`,"+ // 00
|
||||
"`LEVEL `"+ // 01
|
||||
"`LEVEL` "+ // 01
|
||||
"from `AUDIO_OUTPUTS` where "+
|
||||
"`STATION_NAME`='"+RDEscapeString(port_station)+"' && "+
|
||||
QString().sprintf("`CARD_NUMBER`=%d",port_card);
|
||||
|
||||
Reference in New Issue
Block a user