diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2007-06-08 23:42:04 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2007-06-08 23:42:04 +0000 |
commit | 2d48d0ffa6baddd19e6ff077f25068f90af7be3d (patch) | |
tree | 68c80646a748496fee423d77aa43afafb783b269 /apps/debug_menu.c | |
parent | a85793fc54a0079f5483d5a5c6c60b7d17ca688c (diff) | |
download | rockbox-2d48d0ffa6baddd19e6ff077f25068f90af7be3d.tar.gz rockbox-2d48d0ffa6baddd19e6ff077f25068f90af7be3d.zip |
Straighten out some audio path APIs and misc. audio stuff. Having recording is not a prerequisite to having input/output source selection which is probably most useful when adding a audio input features like FM to a new port without forcing recording to be implemented first.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13599 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r-- | apps/debug_menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 404d82c63e..691e9f5070 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c | |||
@@ -693,7 +693,7 @@ static bool dbg_spdif(void) | |||
693 | bool done = false; | 693 | bool done = false; |
694 | bool spdif_src_on; | 694 | bool spdif_src_on; |
695 | int spdif_source = spdif_get_output_source(&spdif_src_on); | 695 | int spdif_source = spdif_get_output_source(&spdif_src_on); |
696 | spdif_set_output_source(AUDIO_SRC_SPDIF, true); | 696 | spdif_set_output_source(AUDIO_SRC_SPDIF IF_SPDIF_POWER_(, true)); |
697 | 697 | ||
698 | lcd_setmargins(0, 0); | 698 | lcd_setmargins(0, 0); |
699 | lcd_clear_display(); | 699 | lcd_clear_display(); |
@@ -844,7 +844,7 @@ static bool dbg_spdif(void) | |||
844 | break; | 844 | break; |
845 | } | 845 | } |
846 | 846 | ||
847 | spdif_set_output_source(spdif_source, spdif_src_on); | 847 | spdif_set_output_source(spdif_source IF_SPDIF_POWER_(, spdif_src_on)); |
848 | 848 | ||
849 | #ifdef HAVE_SPDIF_POWER | 849 | #ifdef HAVE_SPDIF_POWER |
850 | spdif_power_enable(global_settings.spdif_enable); | 850 | spdif_power_enable(global_settings.spdif_enable); |