Commit 3108f02f35685bd57486e198277c600e09d98b13
- Diff rendering mode:
- inline
- side by side
examples/multimedia/audioinput/audioinput.cpp
(3 / 0)
|   | |||
| 213 | 213 | ||
| 214 | 214 | if(format.sampleSize() != 16) { | |
| 215 | 215 | qWarning()<<"audio device doesn't support 16 bit samples, example cannot run"; | |
| 216 | audioInput = 0; | ||
| 217 | button->setDisabled(true); | ||
| 218 | button2->setDisabled(true); | ||
| 216 | 219 | return; | |
| 217 | 220 | } | |
| 218 | 221 |
examples/multimedia/audiooutput/audiooutput.cpp
(3 / 0)
|   | |||
| 179 | 179 | ||
| 180 | 180 | if(settings.sampleSize() != 16) { | |
| 181 | 181 | qWarning()<<"audio device doesn't support 16 bit samples, example cannot run"; | |
| 182 | button->setDisabled(true); | ||
| 183 | button2->setDisabled(true); | ||
| 184 | audioOutput = 0; | ||
| 182 | 185 | return; | |
| 183 | 186 | } | |
| 184 | 187 |
Comments
Add a new comment:
Login or create an account to post a comment
Add your comment
Please log in to comment

