Page 1 of 1

Howto register own custom device for sound

Posted: Mon Sep 15, 2014 2:56 pm
by trfins
Hello,
I want to create a custom device for sound. It will have some unconventional functioanlitity.

I want it to show up when GetSoundChannelPlayDevice() is called and should be able to select it using SetSoundChannelPlayDevice/SetSoundChannelRecordDevice.

How should i start ?

Thanks,
tr

Re: Howto register own custom device for sound

Posted: Fri Sep 19, 2014 6:14 am
by willamowius
Sound devices are PTLib plugins. Take a look at the existing devices in the PTLib plugins/ folder.

SInce they are plugins, you can create your own version and link it with your application. It should register itself automatically and be available for your application.