[MacPorts] #46325: mpd unable to detect an audio device
#46325: mpd unable to detect an audio device --------------------------+-------------------------------- Reporter: bnilsson11@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: mpd@0.18.21 --------------------------+-------------------------------- I have previously used mpd on an older MacPro1,1 with 10.9. The default audio device was detected ok. I recently upgraded to Macpro6,1 with 10.10 Yosemite mpd installed without errors, but will not start on my MacPro6,1: Bengts-MacPro:mpd bnilsson$ sudo mpd server_socket: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded) errno: Failed to open database file "/opt/local/var/lib/mpd/database": No such file or directory output: No 'audio_output' defined in config file output: Attempt to detect audio output device fatal_error: line -1: Unable to detect an audio device /opt/local/etc/mpd.conf: music_directory "/opt/local/var/lib/mpd/music" playlist_directory "/opt/local/var/lib/mpd/playlists" db_file "/opt/local/var/lib/mpd/database" log_file "/opt/local/var/log/mpd/log" state_file "/opt/local/var/lib/mpd/state" mixer_type "software" user "_mpd" -- Ticket URL: <https://trac.macports.org/ticket/46325> MacPorts <https://www.macports.org/> Ports system for OS X
#46325: mpd @0.18.21_0: unable to detect an audio device ---------------------------+----------------------------- Reporter: bnilsson11@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: mpd | ---------------------------+----------------------------- Changes (by larryv@…): * owner: macports-tickets@… => rmstonecipher@… * port: mpd@0.18.21 => mpd Old description:
I have previously used mpd on an older MacPro1,1 with 10.9. The default audio device was detected ok.
I recently upgraded to Macpro6,1 with 10.10 Yosemite
mpd installed without errors, but will not start on my MacPro6,1:
Bengts-MacPro:mpd bnilsson$ sudo mpd server_socket: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded) errno: Failed to open database file "/opt/local/var/lib/mpd/database": No such file or directory output: No 'audio_output' defined in config file output: Attempt to detect audio output device fatal_error: line -1: Unable to detect an audio device
/opt/local/etc/mpd.conf: music_directory "/opt/local/var/lib/mpd/music" playlist_directory "/opt/local/var/lib/mpd/playlists" db_file "/opt/local/var/lib/mpd/database" log_file "/opt/local/var/log/mpd/log" state_file "/opt/local/var/lib/mpd/state" mixer_type "software" user "_mpd"
New description: I have previously used mpd on an older MacPro1,1 with 10.9. The default audio device was detected ok. I recently upgraded to Macpro6,1 with 10.10 Yosemite mpd installed without errors, but will not start on my MacPro6,1: {{{ Bengts-MacPro:mpd bnilsson$ sudo mpd server_socket: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded) errno: Failed to open database file "/opt/local/var/lib/mpd/database": No such file or directory output: No 'audio_output' defined in config file output: Attempt to detect audio output device fatal_error: line -1: Unable to detect an audio device }}} /opt/local/etc/mpd.conf: {{{ music_directory "/opt/local/var/lib/mpd/music" playlist_directory "/opt/local/var/lib/mpd/playlists" db_file "/opt/local/var/lib/mpd/database" log_file "/opt/local/var/log/mpd/log" state_file "/opt/local/var/lib/mpd/state" mixer_type "software" user "_mpd" }}} -- -- Ticket URL: <https://trac.macports.org/ticket/46325#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#46325: mpd @0.18.21_0: unable to detect an audio device ---------------------------+----------------------------- Reporter: bnilsson11@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: mpd | ---------------------------+----------------------------- Comment (by bnilsson11@…): To incude a spec for the audio device is not working: audio_output { type "osx" name "My Mac Device" mixer_type "software" } gives: fatal_error: line 8: No such audio output plugin: osx If the detection of the default audio device is broken, it would be very useful to have some documentation on how to gather data for setting up a working "audio output" section for OSX. If indeed there is a way. -- Ticket URL: <https://trac.macports.org/ticket/46325#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#46325: mpd @0.18.21_0: unable to detect an audio device ---------------------------+----------------------------- Reporter: bnilsson11@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: mpd | ---------------------------+----------------------------- Comment (by piotr.boguszewski@…): I had the same issue. it works with ao try adding following: {{{ audio_output { type "ao" name "My Mac Device" mixer_type "software" } }}} -- Ticket URL: <https://trac.macports.org/ticket/46325#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#46325: mpd @0.18.21_0: unable to detect an audio device ---------------------------+----------------------------- Reporter: bnilsson11@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: mpd | ---------------------------+----------------------------- Comment (by rmstonecipher@…): Your solution is the right one. See [https://trac.macports.org/ticket/46861#comment:3] for a detailed explanation. I will make sure output type ao is set in the default mpd.conf to save future new users from similar hiccups. -- Ticket URL: <https://trac.macports.org/ticket/46325#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#46325: mpd @0.18.21_0: unable to detect an audio device ---------------------------+----------------------------- Reporter: bnilsson11@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: mpd | ---------------------------+----------------------------- Comment (by bnilsson11@…): Replying to [comment:4 rmstonecipher@…]:
Your solution is the right one. See [https://trac.macports.org/ticket/46861#comment:3] for a detailed explanation. I will make sure output type ao is set in the default mpd.conf to save future new users from similar hiccups.
Will there ever be any alternative to libao? The main drawback is that the audio format is not transferred from the file format (e.g. 24bit 96kHz) to the audio device. You have to go into "Sound MIDI settings" to control this. It would be better if the file format would go unchanged to the audio device. Is it possible to enable this behavior in libao? -- Ticket URL: <https://trac.macports.org/ticket/46325#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#46325: mpd @0.18.21_0: unable to detect an audio device ---------------------------+----------------------------- Reporter: bnilsson11@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: mpd | ---------------------------+----------------------------- Comment (by rmstonecipher@…): Replying to [comment:5 bnilsson11@…]:
snip
Will there ever be any alternative to libao? The main drawback is that the audio format is not transferred from the file format (e.g. 24bit 96kHz) to the audio device. You have to go into "Sound MIDI settings" to control this. It would be better if the file format would go unchanged to the audio device. Is it possible to enable this behavior in libao?
If another audio sink is kept current upstream for OS X compatibilty and will provide a better user experience I would be all for it. At the time of my decision to leave the faulty osx sink behind libao seemed like the best choice - it has relatively few dependencies - but I am open to suggestions. In other news the sun is setting on my time with MacPorts; I'll be switching back to Linux soon and would like to leave my ports in good shape upon the date of their abandonment. Would you be interested in taking over, Bengt? -- Ticket URL: <https://trac.macports.org/ticket/46325#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#46325: mpd @0.18.21_0: unable to detect an audio device ---------------------------+-------------------------------- Reporter: bnilsson11@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: mpd | ---------------------------+-------------------------------- Changes (by mf2k@…): * owner: rmstonecipher@… => macports-tickets@… Comment: rmstonecipher has retired. See #51138. -- Ticket URL: <https://trac.macports.org/ticket/46325#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts