Change-Id: I11eaf882a76507da8eaef2fa03cdc2b7b97e37a1 Signed-off-by: Hans Yang <yhx@rock-chips.com>
22 lines
418 B
C
Executable File
22 lines
418 B
C
Executable File
#ifndef ALSA_CFG_H
|
|
#define ALSA_CFG_H
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct {
|
|
int samplerate;
|
|
int bits;
|
|
int channels;
|
|
int period_size;
|
|
const char *device;
|
|
}alsa_open_config_t;
|
|
|
|
__attribute ((visibility("default"))) int playback_check_samplerate(int samplerate);
|
|
#define capture_check_samplerate(samplerate) playback_check_samplerate(samplerate)
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|