forked from len0rd/rockbox
move audiohw_postinit to audiohw.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16293 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
99db6dbafe
commit
341188d68d
3 changed files with 5 additions and 3 deletions
|
|
@ -108,6 +108,11 @@ extern const struct sound_settings_info audiohw_settings[];
|
||||||
*/
|
*/
|
||||||
void audiohw_init(void);
|
void audiohw_init(void);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Do some stuff (codec related) after audiohw_init.
|
||||||
|
*/
|
||||||
|
void audiohw_postinit(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Close audio codec.
|
* Close audio codec.
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -22,8 +22,6 @@
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <audiohw.h>
|
#include <audiohw.h>
|
||||||
|
|
||||||
extern void audiohw_postinit(void);
|
|
||||||
|
|
||||||
typedef void sound_set_type(int value);
|
typedef void sound_set_type(int value);
|
||||||
|
|
||||||
const char *sound_unit(int setting);
|
const char *sound_unit(int setting);
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,6 @@ extern int tenthdb2master(int db);
|
||||||
extern int tenthdb2mixer(int db);
|
extern int tenthdb2mixer(int db);
|
||||||
|
|
||||||
extern void audiohw_preinit(void);
|
extern void audiohw_preinit(void);
|
||||||
extern void audiohw_postinit(void);
|
|
||||||
extern int audiohw_set_master_vol(int vol_l, int vol_r);
|
extern int audiohw_set_master_vol(int vol_l, int vol_r);
|
||||||
extern void audiohw_set_nsorder(int order);
|
extern void audiohw_set_nsorder(int order);
|
||||||
extern void audiohw_set_sample_rate(int sampling_control);
|
extern void audiohw_set_sample_rate(int sampling_control);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue