Squashed commit of the changes from the mobile-examples repository
(4.7-generated-declarative branch). (cherry picked from commit 539311f7b2687e3148ea695ce06fee768abe7b44)
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
|
||||
QString toString(QAudioFormat::SampleType sampleType)
|
||||
{
|
||||
QString result("Unknown");
|
||||
QString result;
|
||||
switch (sampleType) {
|
||||
case QAudioFormat::SignedInt:
|
||||
result = "SignedInt";
|
||||
@@ -58,7 +58,9 @@ QString toString(QAudioFormat::SampleType sampleType)
|
||||
case QAudioFormat::Float:
|
||||
result = "Float";
|
||||
break;
|
||||
default:
|
||||
case QAudioFormat::Unknown:
|
||||
result = "Unknown";
|
||||
break;
|
||||
}
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user