1. 14 Oct, 2018 1 commit
    • Max Kellermann's avatar
      build with Meson instead of autotools · 94592c14
      Max Kellermann authored
      So long, autotools!  This is my last MPD related project to migrate
      away from it.  It has its strengths, but also very obvious weaknesses
      and weirdnesses.  Today, many of its quirks are not needed anymore,
      and are cumbersome and slow.  Now welcome our new Meson overlords!
      94592c14
  2. 22 Sep, 2018 1 commit
  3. 20 Aug, 2018 1 commit
  4. 07 Aug, 2018 2 commits
    • 1848's avatar
      Added unix socket support in HttpdOutputPlugin · 0c1a899f
      1848 authored
      0c1a899f
    • Yue Wang's avatar
      Fix various bugs in OS X DSD playback · 2127a482
      Yue Wang authored
      the most notable bugs are 
      
      1. osx_output_set_device_format should use the target asbd rather than AudioFormat. This is because asbd's sample rate calculation reflects the real dop target rate of the DAC, white AudioFormat's sample rate is the original DSD format rate.
      
      2. the original code value the highest rate that's the multiple of the target rate. This cause DOP always have the wrong rate chosen. This is also not necessary for PCM playback --- MPD's goal is bit perfect, and it's meaningless to raise to two or four times the PCM sample rate.
      
      3.  if sample_rate cannot be synchronized, the test for falling back to PCM is wrong. If the file format is in DSD format such fallback is necessary, whatever the params.dop setting is.
      Unverified
      2127a482
  5. 28 Jul, 2018 1 commit
  6. 16 Jul, 2018 3 commits
  7. 14 Jul, 2018 1 commit
    • Yue Wang's avatar
      Update OSXOutputPlugin.cxx · 1d30df9b
      Yue Wang authored
      some device seems to have issue with setting kAudioDevicePropertyVolumeScalar  with kAudioObjectPropertyElementMaster. Use AudioToolbox 's kAudioHardwareServiceDeviceProperty_VirtualMasterVolume instead. 
      
      Ideally, we should get the steoro channels first, and set the kAudioDevicePropertyVolumeScalar for each channel, which is doable as presented in https://github.com/cmus/cmus/blob/master/op/coreaudio.c. I will do a follow up PR after refactor PR.
      Unverified
      1d30df9b
  8. 13 Jul, 2018 6 commits
  9. 10 Jul, 2018 1 commit
    • Yue Wang's avatar
      enable macOS to use Hardware Mixer · 680fdb03
      Yue Wang authored
      - Update the mixer to set on device property instead of audio unit property. When user choose "hardware" as mixer type, they will be able to change the hardware device volume instead of the software (AudioUnit) volume. 
      - We don't use square root scale in volume calculation as previous code did. This will make the volume level in line with system volume meter --- That is, MPD will have the same percentage volume reading compared to System Setting (Either in "System Preference" or in "Audio Midi Setup" app)
      Unverified
      680fdb03
  10. 06 Jul, 2018 2 commits
    • Max Kellermann's avatar
      AudioFormat: include cleanup · 6f3c0d0a
      Max Kellermann authored
      6f3c0d0a
    • Max Kellermann's avatar
      output/httpd: remove broken DLNA support code · 5f082a27
      Max Kellermann authored
      This code was added in 21851c06 but
      looks completely broken:
      
      - the status code is "206 OK" but "206" would be "Partial Content"
      
      - the "Content-Length" header has a bogus value
      
      - the "Content-RangeX" parameter has different bogus values (why
        "Content-RangeX" anyway and not "Content-Range"?)
      
      Apart from that, there are strange undocumented non-standard headers
      which are probably there to work around bugs/expectations in one
      broken proprietary client product.  But these days, MPD doesn't bend
      over to support broken clients.  So let's kill this code.
      
      Closes #304
      5f082a27
  11. 02 Jun, 2018 1 commit
  12. 03 May, 2018 1 commit
  13. 26 Apr, 2018 9 commits
  14. 10 Apr, 2018 1 commit
  15. 07 Mar, 2018 5 commits
  16. 26 Feb, 2018 1 commit
    • Christian Kröner's avatar
      Initial support for DSD over PCM on macOS · e89c4213
      Christian Kröner authored
      From: Christian Kröner <ckroener@gmx.net>
      
      This just copies the necessary bits and pieces from the ALSA plugin and applies them to OSXOutput based on dop config setting. It only changes the OSXOutput plugin as needed for DoP (further changes to support additionally e.g. integer mode or setting the physical device mode require rather a complete rewrite of the output plugin).
      
      Fortunately the Core Audio API is by default bit perfect and supports DoP with minimal changes (setting the sampling rate accordingly after ensuring that the physical mode supports at least 24 bits per channel seems to be enough). This was tested on an Amanero Combo384 device hooked up to a ES9018 DAC.
      
      USAGE (try only on DACs that support DoP):
      - Add dop "yes" option to mpdconf
      - Be sure to set at least 24bits per channel before playing some DSD file (using Audio-MIDI-Setup)
      - Based on the dop setting, MPD will change the sample rate as required and output DoP signal to the DAC
      - Hog mode is recommended to ensure that no other program will try to mix some output with the DoP stream (resulting in bad noise)
      - Alternatively set the default output device to another device (e.g. the built-in output) to avoid having other audio interfere with DSD playback
      e89c4213
  17. 30 Jan, 2018 1 commit
  18. 24 Jan, 2018 1 commit
  19. 17 Jan, 2018 1 commit