Implemented proper conversion of short to byte array to store raw audio data