[Musicpd-dev-team] MPD 24-bit audio output as 3-byte samples
Hi to all Today Max Kellerman confirmed to me that mpd is capable of sending 24-bit audio output in true 3-byte sample format (so not the padded 4 byte samples) without the use of ALSA to do any conversions. As far as I understand it, this native mpd-support for 3-byte samples is for the S24_3LE format. I got his answer as a reply to my request to support true 3-byte sample output I posted on the Mantis bugtracker. Max replied he did not find Mantis suitable to ask questions, so I still have a question remaining I wish to post to you here. How do I configure mpd to make it send 24-bit audio as true 3-byte samples without using ALSA? I could not find any examples on the mpd-wiki configuration page. I assume that mpd is also still capable of sending the 32-bit samples with the 24-bit audio padded with zeroes. This would mean there has to be a switch/parameter indicating that a 24-bit sample size is wanted instead of 32-bit, but I don't know which one that would be. The audio_output section of the mpd.config now looks like this: audio_output { type "smp86xx" load "/share/Apps/mpd/plugins/smp86xx_plugin.so" name "My Sigma Chip" engine "0" # optional decoder "1" # optional ramdac "1" # optional line_count "2048" # optional fifo_us "50" # optional hdmi "sii9134" } This belongs to mpd as implemented on the PopcornHour mediaplayer with a plugin developed to send the mpd-output straight into the Sigma Design SMP86xx processor. As you can see ALSA is not used here as the output is sent directly to the processor. This processor requires 24-bit audio to be sent in true unpacked 3 bytes per sample little endian format, as S24_3LE would be as I understand it, or in a DVD PCM 24-bit linear PCM as described here ( http://wiki.multimedia.cx/index.php?title=PCM#24-Bit_PCM ) which is somewhat more difficult to implement and also limited to 96kHz sample rate. But Max confirmed that 24-bit audio output in true 3-byte sample format is available as a native format from mpd, so that would be the best one. So can anyone instruct me how to make mpd output 24-bit audio as true 3-byte samples without the use of ALSA? Eagerly looking forward to your reply - aleg -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com___ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team
[Musicpd-dev-team] MPD 24-bit audio output as 3-byte samples
Sorry for sending a HTML-mail, I had not thought about the effect that would have when presented in the list. So this one as a plain text one. Hi to all Today Max Kellerman confirmed to me that mpd is capable of sending 24-bit audio output in true 3-byte sample format (so not the padded 4 byte samples) without the use of ALSA to do any conversions. As far as I understand it, this native mpd-support for 3-byte samples is for the S24_3LE format. I got his answer as a reply to my request to support true 3-byte sample output I posted on the Mantis bugtracker. Max replied he did not find Mantis suitable to ask questions, so I still have a question remaining I wish to post to you here. How do I configure mpd to make it send 24-bit audio as true 3-byte samples without using ALSA? I could not find any examples on the mpd-wiki configuration page. I assume that mpd is also still capable of sending the 32-bit samples with the 24-bit audio padded with zeroes. This would mean there has to be a switch/parameter indicating that a 24-bit sample size is wanted instead of 32-bit, but I don't know which one that would be. The audio_output section of the mpd.config now looks like this: audio_output { typesmp86xx load/share/Apps/mpd/plugins/smp86xx_plugin.so nameMy Sigma Chip engine 0# optional decoder 1# optional ramdac 1# optional line_count 2048 # optional fifo_us 50 # optional hdmisii9134 } This belongs to mpd as implemented on the PopcornHour mediaplayer with a plugin developed to send the mpd-output straight into the Sigma Design SMP86xx processor. As you can see ALSA is not used here as the output is sent directly to the processor. This processor requires 24-bit audio to be sent in true unpacked 3 bytes per sample little endian format, as S24_3LE would be as I understand it, or in a DVD PCM 24-bit linear PCM as described here ( http://wiki.multimedia.cx/index.php?title=PCM#24-Bit_PCM ) which is somewhat more difficult to implement and also limited to 96kHz sample rate. But Max confirmed that 24-bit audio output in true 3-byte sample format is available as a native format from mpd, so that would be the best one. So can anyone instruct me how to make mpd output 24-bit audio as true 3-byte samples without the use of ALSA? Eagerly looking forward to your reply - aleg -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team
Re: [Musicpd-dev-team] MPD 24-bit audio output as 3-byte samples
On 2010/01/27 12:07, Moimoi cookingher...@gmail.com wrote: How do I configure mpd to make it send 24-bit audio as true 3-byte samples without using ALSA? You can not. You're using an out-of-tree output plugin which we cannot help you with. Ask the author of that plugin. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team
Re: [Musicpd-dev-team] MPD 24-bit audio output as 3-byte samples
On 2010/01/27 13:35, Moimoi cookingher...@gmail.com wrote: Why did you tell me this morning on the Mantis bugtracker ( here http://musicpd.org/mantis/view.php?id=2731 ) that mpd can output S24_3LE as an output format as that was already implemented in mpd and subsequently close my request to add this feature to mpd. You are truly confusing in your communications. Packed 24 bit samples have been implemented in the MPD core and in the ALSA output plugin, this is exactly what I wrote, and this is exactly the truth, and does not contradict with the need for an implementation in the plugin you're using. You are asking for this feature in a plugin which we neither wrote nor support, nor do we know about its capabilities. Which is why I told you to ask that plugin's author. Now please stop bugging us with this issue. It is resolved on our side. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team
Re: [Musicpd-dev-team] MPD 24-bit audio output as 3-byte samples
For the first time, I have banned somebody from using mantis now. The mantis user avanegmond is now downgraded to read-only access, after you have reopened bug 0005291 for the third time, after I have asked you twice not to. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team
Re: [Musicpd-dev-team] MPD 24-bit audio output as 3-byte samples
Hi Max Why did you tell me this morning on the Mantis bugtracker ( here http://musicpd.org/mantis/view.php?id=2731 ) that mpd can output S24_3LE as an output format as that was already implemented in mpd and subsequently close my request to add this feature to mpd. You are truly confusing in your communications. - aleg On 27-1-2010 13:29, Max Kellermann wrote: On 2010/01/27 12:07, Moimoicookingher...@gmail.com wrote: How do I configure mpd to make it send 24-bit audio as true 3-byte samples without using ALSA? You can not. You're using an out-of-tree output plugin which we cannot help you with. Ask the author of that plugin. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team