2 * Copyright (C) 2012 Samsung Electronics
3 * R. Chandrasekar < rcsekar@samsung.com>
5 * SPDX-License-Identifier: GPL-2.0+
11 /* sound codec enum */
19 /* sound codec enum */
25 /* Codec information structure to store the info from device tree */
26 struct sound_codec_info {
29 enum en_sound_codec codec_type;
33 * Initialises audio sub system
34 * @param blob Pointer of device tree node or NULL if none.
35 * @return int value 0 for success, -1 for error
37 int sound_init(const void *blob);
40 * plays the pcm data buffer in pcm_data.h through i2s1 to make the
43 * @return int 0 for success, -1 for error
45 int sound_play(uint32_t msec, uint32_t frequency);
47 #endif /* __SOUND__H__ */