Howto register own custom device for sound

Discussion related to implementation and use of the H.323 Plus H.323 stack at https://www.h323plus.org.
Post Reply
trfins
Posts: 3
Joined: Fri Sep 12, 2014 12:28 pm

Howto register own custom device for sound

Post 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
User avatar
willamowius
Posts: 50
Joined: Tue Sep 01, 2009 7:25 am
Contact:

Re: Howto register own custom device for sound

Post 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.
Jan Willamowius
Founder of the GNU Gatekeeper Project
https://www.gnugk.org
https://www.willamowius.com (H.323 support)
Post Reply