OpenViBE forum

The OpenViBE community
It is currently Sat Feb 16, 2019 11:00 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: about signal data type
PostPosted: Wed Jan 16, 2019 11:41 am 
Offline

Joined: Mon Jan 14, 2019 1:57 pm
Posts: 3
hi friends

I am developping a driver and I just encountered something curious :
in the Designer, the type of signal samples is float64, so I though no precision would be lost if the driver acquires double precision data.
But in the driver, the buffer that has to be filled with these samples and sent to the callback function contains float32 samples.
I'm not sure but it seems to me that samples are cast from float32 to float64 in ovpCGenericNetworkAcquisition.cpp.
Why this choice ?
If a simple precision is enough, why are samples transformed into float64 in the Designer ?

Thanks


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Americanized by Maƫl Soucaze.