Fix the format switch in alBufferData
Avoid the local data variable mask the data argument