Mercurial > audlegacy-plugins
changeset 2387:74ab1fa87598
remove an unused function
author | mf0102 <0102@gmx.at> |
---|---|
date | Thu, 14 Feb 2008 22:23:52 +0100 |
parents | d27d796ce625 |
children | 46d3e970f0a5 |
files | src/alsa/audio.c |
diffstat | 1 files changed, 0 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/src/alsa/audio.c Thu Feb 14 17:20:27 2008 +0000 +++ b/src/alsa/audio.c Thu Feb 14 22:23:52 2008 +0100 @@ -808,16 +808,6 @@ return f; } -static int format_from_alsa(snd_pcm_format_t fmt) -{ - size_t i; - for (i = 0; i < sizeof(format_table) / sizeof(format_table[0]); i++) - if (format_table[i].alsa == fmt) - return format_table[i].xmms; - g_warning("Unsupported format: %s", snd_pcm_format_name(fmt)); - return -1; -} - static int alsa_setup(struct snd_format *f) { int err;