Commit 3fc90e6
committed
audio: Use get_device_alsadev() to support device' specific card/device
Implement support for card and device number specific to a given device.
TODO:
- don't hardcode the card/device for non-alsadev devices.
Gotta retrieve the numbers using configmgr I guess...
- the ifdef'ed code in out_set_parameters() requires non-const hwstream.
Probably not the good way to do it...
- mirror support for input devices
Change-Id: Idf34ee23cfcfa02692bcb8914dfdd38ebc1d724c
Signed-off-by: Vincent Knecht <vincent.knecht@mailoo.org>1 parent e57f19f commit 3fc90e6
1 file changed
+31
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
382 | 385 | | |
383 | 386 | | |
384 | 387 | | |
| |||
387 | 390 | | |
388 | 391 | | |
389 | 392 | | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
390 | 404 | | |
391 | 405 | | |
392 | 406 | | |
| |||
735 | 749 | | |
736 | 750 | | |
737 | 751 | | |
| 752 | + | |
| 753 | + | |
738 | 754 | | |
739 | 755 | | |
740 | 756 | | |
| |||
750 | 766 | | |
751 | 767 | | |
752 | 768 | | |
753 | | - | |
754 | | - | |
755 | | - | |
756 | | - | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
757 | 784 | | |
758 | 785 | | |
759 | 786 | | |
| |||
0 commit comments