Gastric acid is stimulated by certain food items, most prominently by proteins (amino acids) and calcium. Acid production is inhibited by carbohydrates and fats. Carbonated drinks contain carbon dioxide which should have little or no effect on acid secretion.