but I will try to make shift left or right binary data..
I want to make in and out the same freq
1sec delay will be acceptable
All that will do is to change the volume of the audio.Just output the samples at the same rate as you input them to do that.A one second delay will be a miracle, there is not enough memory for that. Depending on the sample rate you only have enough memory for about a tenth of a second of delay on a nano, and that is if you want a delay.
If you or he is saying that shifting a sample up or down does anything but alter the volume then you or he are fundamentally miss understanding something.