output_state: no CamelCase

This commit is contained in:
Max Kellermann 2009-10-06 10:30:10 +02:00
parent 7013f9fc31
commit 1e663b1869
3 changed files with 6 additions and 6 deletions

View File

@ -35,7 +35,7 @@
#define AUDIO_DEVICE_STATE "audio_device_state:" #define AUDIO_DEVICE_STATE "audio_device_state:"
void void
saveAudioDevicesState(FILE *fp) audio_output_state_save(FILE *fp)
{ {
unsigned n = audio_output_count(); unsigned n = audio_output_count();
@ -50,7 +50,7 @@ saveAudioDevicesState(FILE *fp)
} }
bool bool
readAudioDevicesState(const char *line) audio_output_state_read(const char *line)
{ {
long value; long value;
char *endptr; char *endptr;

View File

@ -29,9 +29,9 @@
#include <stdio.h> #include <stdio.h>
bool bool
readAudioDevicesState(const char *line); audio_output_state_read(const char *line);
void void
saveAudioDevicesState(FILE *fp); audio_output_state_save(FILE *fp);
#endif #endif

View File

@ -53,7 +53,7 @@ state_file_write(void)
} }
save_sw_volume_state(fp); save_sw_volume_state(fp);
saveAudioDevicesState(fp); audio_output_state_save(fp);
playlist_state_save(fp, &g_playlist); playlist_state_save(fp, &g_playlist);
while(fclose(fp) && errno == EINTR) /* nothing */; while(fclose(fp) && errno == EINTR) /* nothing */;
@ -81,7 +81,7 @@ state_file_read(void)
g_strchomp(line); g_strchomp(line);
success = read_sw_volume_state(line) || success = read_sw_volume_state(line) ||
readAudioDevicesState(line) || audio_output_state_read(line) ||
playlist_state_restore(line, fp, &g_playlist); playlist_state_restore(line, fp, &g_playlist);
if (!success) if (!success)
g_warning("Unrecognized line in state file: %s", line); g_warning("Unrecognized line in state file: %s", line);