Commit 9f369a1
committed
openslES: OpenSL ES on Android only supports two formats, limit to that.
(Three with the floating point extension, which we use.)
This is according to:
https://developer.android.com/ndk/guides/audio/opensl/opensl-for-android
Previously, this would accept a request for Sint8 or Sint32 and disaster
would ensue.
Fixes libsdl-org#13779.
(cherry picked from commit 0b2a003)
(cherry picked from commit 7323104)
(cherry picked from commit b8c8026)1 parent 1f6e0e3 commit 9f369a1
1 file changed
+13
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
420 | 419 | | |
421 | 420 | | |
422 | 421 | | |
423 | | - | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
424 | 426 | | |
| 427 | + | |
| 428 | + | |
425 | 429 | | |
| 430 | + | |
426 | 431 | | |
427 | 432 | | |
428 | 433 | | |
429 | 434 | | |
430 | | - | |
431 | | - | |
| 435 | + | |
| 436 | + | |
432 | 437 | | |
433 | 438 | | |
434 | 439 | | |
435 | 440 | | |
436 | | - | |
| 441 | + | |
437 | 442 | | |
438 | 443 | | |
439 | 444 | | |
| |||
0 commit comments