Output plugin for a custom audio device

Added by Sergey Bromirskiy almost 2 years ago

Hi,

I've created an output plugin for a non standard audio device. Now I can play music on the device using the Audacious. The interface of the device is very simple (just writing wav file(with header) to the device) - as prototype I used the filewriter plugin. The device accepts only one format of audio: 44KHz 16bit stereo. Is it possible to use Sample rate converter to always send to the device 44KHz or how to forbid to an user to play unsupported formats?

Thank you,
Sergey


Replies (1)

RE: Output plugin for a custom audio device - Added by Sergey Bromirskiy almost 2 years ago

Found that forbid format may in output plugin (example in the CoreAudio plugin, open_audio function).

(1-1/1)