i was searching the web but i can't find the answer to my question:

I own an old iphone 3g with ios 4.1. It is connected to my stereo using headphone jack.
Is it possible to stream music to it and to control it (loudness) over the WiFi from Mac?