Output plugin for a custom audio device
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?
Found that forbid format may in output plugin (example in the CoreAudio plugin, open_audio function).