diff options
author | Max Kellermann <max@duempel.org> | 2014-09-26 10:51:38 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-09-26 11:07:53 +0200 |
commit | 8397196fbb9d1b967bdf79205ffe965d41f73384 (patch) | |
tree | cf0c4f596c267dce4540cf77eb99cd2f525d0e6b | |
parent | 8547611479f8169497d257da5e40dcd885398865 (diff) | |
download | mpd-8397196fbb9d1b967bdf79205ffe965d41f73384.tar.gz mpd-8397196fbb9d1b967bdf79205ffe965d41f73384.tar.xz mpd-8397196fbb9d1b967bdf79205ffe965d41f73384.zip |
output/alsa: change a few "dsd" to "dop"
-rw-r--r-- | src/output/plugins/AlsaOutputPlugin.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/output/plugins/AlsaOutputPlugin.cxx b/src/output/plugins/AlsaOutputPlugin.cxx index 33a090274..28c374a00 100644 --- a/src/output/plugins/AlsaOutputPlugin.cxx +++ b/src/output/plugins/AlsaOutputPlugin.cxx @@ -636,7 +636,7 @@ error: } static bool -alsa_setup_dsd(AlsaOutput *ad, const AudioFormat audio_format, +alsa_setup_dop(AlsaOutput *ad, const AudioFormat audio_format, bool *shift8_r, bool *packed_r, bool *reverse_endian_r, Error &error) { @@ -677,7 +677,7 @@ alsa_setup_dsd(AlsaOutput *ad, const AudioFormat audio_format, } static bool -alsa_setup_or_dsd(AlsaOutput *ad, AudioFormat &audio_format, +alsa_setup_or_dop(AlsaOutput *ad, AudioFormat &audio_format, Error &error) { bool shift8 = false, packed, reverse_endian; @@ -685,7 +685,7 @@ alsa_setup_or_dsd(AlsaOutput *ad, AudioFormat &audio_format, const bool dop = ad->dop && audio_format.format == SampleFormat::DSD; const bool success = dop - ? alsa_setup_dsd(ad, audio_format, + ? alsa_setup_dop(ad, audio_format, &shift8, &packed, &reverse_endian, error) : alsa_setup(ad, audio_format, &packed, &reverse_endian, @@ -717,7 +717,7 @@ alsa_open(AudioOutput *ao, AudioFormat &audio_format, Error &error) snd_pcm_name(ad->pcm), snd_pcm_type_name(snd_pcm_type(ad->pcm))); - if (!alsa_setup_or_dsd(ad, audio_format, error)) { + if (!alsa_setup_or_dop(ad, audio_format, error)) { snd_pcm_close(ad->pcm); return false; } |