linux - C programming structure access -


i found line in linux audio drivers soc-core.c inside sound folder:

int regsize = codec->driver->reg_word_size * 2; 

can please explain meaning of * 2?

multiply contents of codec->driver->reg_word_size 2. guess translation between size in words size in bytes.


Comments

Popular posts from this blog

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -