| 1 | #! /bin/sh /usr/share/dpatch/dpatch-run
|
|---|
| 2 | ## 50_addaudiooutput.dpatch by <jean-yves@avenard.org>
|
|---|
| 3 | ##
|
|---|
| 4 | ## All lines beginning with `## DP:' are a description of the patch.
|
|---|
| 5 | ## DP: No description.
|
|---|
| 6 |
|
|---|
| 7 | @DPATCH@
|
|---|
| 8 | diff -urNad mythtv-testing~/programs/mythfrontend/globalsettings.cpp mythtv-testing/programs/mythfrontend/globalsettings.cpp
|
|---|
| 9 | --- mythtv-testing~/programs/mythfrontend/globalsettings.cpp 2009-04-25 23:45:36.000000000 +1000
|
|---|
| 10 | +++ mythtv-testing/programs/mythfrontend/globalsettings.cpp 2009-04-26 01:44:52.000000000 +1000
|
|---|
| 11 | @@ -50,6 +50,8 @@
|
|---|
| 12 | gc->addSelection("ALSA:digital", "ALSA:digital");
|
|---|
| 13 | gc->addSelection("ALSA:mixed-analog", "ALSA:mixed-analog");
|
|---|
| 14 | gc->addSelection("ALSA:mixed-digital", "ALSA:mixed-digital");
|
|---|
| 15 | + gc->addSelection("ALSA:hdmi", "ALSA:hdmi");
|
|---|
| 16 | + gc->addSelection("ALSA:plughw:0,3", "ALSA:plughw:0,3");
|
|---|
| 17 | #endif
|
|---|
| 18 | #ifdef USING_OSS
|
|---|
| 19 | QDir dev("/dev", "dsp*", QDir::Name, QDir::System);
|
|---|
| 20 | @@ -124,6 +126,8 @@
|
|---|
| 21 | gc->addSelection(QObject::tr("Default"), "Default");
|
|---|
| 22 | #ifndef USING_MINGW
|
|---|
| 23 | gc->addSelection("ALSA:iec958:{ AES0 0x02 }", "ALSA:iec958:{ AES0 0x02 }");
|
|---|
| 24 | + gc->addSelection("ALSA:hdmi", "ALSA:hdmi");
|
|---|
| 25 | + gc->addSelection("ALSA:plughw:0,3", "ALSA:plughw:0,3");
|
|---|
| 26 | #endif
|
|---|
| 27 |
|
|---|
| 28 | gc->setHelpText(QObject::tr("Audio output device to use for AC3 and "
|
|---|