Hello,

I have created a device driver for an MP3 decoder device. This device  
accepts an MP3 stream, decodes it and directly outputs audio to  
loudspeakers. It would be nice if I could add this device as an output  
for MPD.

I (quickly) browsed the sources of MPD to see how this could be done.  
MPD seems to be PCM centered: (input stream/file -> decoder -> PCM ->  
filters -> output)

There seem to be two easy/dirty options:

Option 1.
- write a 'copy' decoder plugin that copies the mp3 stream
- write a output plugin specifically for this device

Option 2.
- write a decoder plugin that outputs to this device
- use the 'null' plugin to discard the output

What would be the best way to go to add a MP3 capable output device to MPD?

Thanks,
Richard.



------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
_______________________________________________
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team

Reply via email to