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

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -