summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-global-preferences.h
diff options
context:
space:
mode:
authorGene Z. Ragan <gzr@eazel.com>2001-02-25 00:40:27 +0000
committerGene Ragan <gzr@src.gnome.org>2001-02-25 00:40:27 +0000
commit8ff3209e1c1588b0b7d4ff0b688d86ee14e6cc85 (patch)
tree67ccc75659578ac7163b2d80a70f99af2aba9b09 /libnautilus-private/nautilus-global-preferences.h
parent8468f2f6230748b88f1d42bebaa28dd1d7a86075 (diff)
downloadnautilus-8ff3209e1c1588b0b7d4ff0b688d86ee14e6cc85.tar.gz
reviewed by: George Lebl <jirka@5z.com>
2001-02-24 Gene Z. Ragan <gzr@eazel.com> reviewed by: George Lebl <jirka@5z.com> Fixed bug 3546, Nautilus fails if MP3 previews in rapid succession Fixed bug 5105, Preview sound file during MP3 playback -> "/dev/dsp: Device or resource busy" * libnautilus-extensions/nautilus-global-preferences.h: Add a preference that that tracks the result of an intial audio output capability check during nautilus_sound_initialize(). * libnautilus-extensions/nautilus-sound.c: (nautilus_sound_initialize): Check audio output capability and save the result of the check in a preference. (nautilus_sound_can_play_sound): Check saved preference instead of opening and closing esd as a way to check if sound output is available. The constant opening and closing creating a latency problem withing esd and was affecting the audio preview mechanism.
Diffstat (limited to 'libnautilus-private/nautilus-global-preferences.h')
-rw-r--r--libnautilus-private/nautilus-global-preferences.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libnautilus-private/nautilus-global-preferences.h b/libnautilus-private/nautilus-global-preferences.h
index 96eb95d67..2782f24a6 100644
--- a/libnautilus-private/nautilus-global-preferences.h
+++ b/libnautilus-private/nautilus-global-preferences.h
@@ -35,8 +35,11 @@ BEGIN_GNOME_DECLS
#define NAUTILUS_PREFERENCES_ICON_CAPTIONS "icon_view/captions"
/* How wide the sidebar is (or how wide it will be when expanded) */
#define NAUTILUS_PREFERENCES_SIDEBAR_WIDTH "preferences/sidebar_width"
+
/* Keep track of the sound playing process */
#define NAUTILUS_PREFERENCES_CURRENT_SOUND_STATE "preferences/sound_state"
+/* Does the system have audio output capability */
+#define NAUTILUS_PREFERENCES_HAS_AUDIO_OUT "preferences/audio_out"
/* Window options */
#define NAUTILUS_PREFERENCES_WINDOW_ALWAYS_NEW "preferences/window_always_new"