aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutputs/audioOutput_alsa.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-07 19:19:55 +0200
committerMax Kellermann <max@duempel.org>2008-09-07 19:19:55 +0200
commitf1dd9c209c3a1cf6826d3a38b60f638e0faeadab (patch)
tree91e369d89eac8d298f1473c0dbcdf43065ae3b40 /src/audioOutputs/audioOutput_alsa.c
parentbd81fd8b0c4f4f3c20533e21d6a837326eb8682b (diff)
downloadmpd-f1dd9c209c3a1cf6826d3a38b60f638e0faeadab.tar.gz
mpd-f1dd9c209c3a1cf6826d3a38b60f638e0faeadab.tar.xz
mpd-f1dd9c209c3a1cf6826d3a38b60f638e0faeadab.zip
audio_format: converted typedef AudioFormat to struct audio_format
Get rid of CamelCase, and don't use a typedef, so we can forward-declare it, and unclutter the include dependencies.
Diffstat (limited to '')
-rw-r--r--src/audioOutputs/audioOutput_alsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audioOutputs/audioOutput_alsa.c b/src/audioOutputs/audioOutput_alsa.c
index f0aa32713..9bb962fb5 100644
--- a/src/audioOutputs/audioOutput_alsa.c
+++ b/src/audioOutputs/audioOutput_alsa.c
@@ -123,7 +123,7 @@ static int alsa_testDefault(void)
static int alsa_openDevice(AudioOutput * audioOutput)
{
AlsaData *ad = audioOutput->data;
- AudioFormat *audioFormat = &audioOutput->outAudioFormat;
+ struct audio_format *audioFormat = &audioOutput->outAudioFormat;
snd_pcm_format_t bitformat;
snd_pcm_hw_params_t *hwparams;
snd_pcm_sw_params_t *swparams;