If the OP is driving this with a 9V battery and is worried about power consumption then both the 7805 and LM317 are the wrong way to go.I wouldn't use a Lm317, better to use the 7805, it will power all the circuit both leds and receivers,
That 7805 is going to need to drop 4V. That is a lot of wasted energy in heat.
There is no need to regulate voltage when using a 9V battery to drive LEDs. It is already regulated. That needs to be done is limit current. OP might as well just add the appropriate size current limiting resistors and forget voltage regulation. But that is a waste of energy too.