forked from len0rd/rockbox
[3/4] Completely remove HWCODEC support
'swcodec' is now always set (and recording_swcodec for recording-capable units) in feature.txt so the manual and language strings don't need to all be fixed up. Change-Id: Ib2c9d5d157af8d33653e2d4b4a12881b9aa6ddb0
This commit is contained in:
parent
0c4f89370d
commit
8cb555460f
207 changed files with 322 additions and 5594 deletions
|
@ -7,8 +7,6 @@ struct pcm pcm IBSS_ATTR;
|
|||
#define N_BUFS 2
|
||||
#define BUF_SIZE 2048
|
||||
|
||||
#if CONFIG_CODEC == SWCODEC
|
||||
|
||||
bool doneplay=1;
|
||||
bool bufnum=0;
|
||||
|
||||
|
@ -88,27 +86,3 @@ int rockboy_pcm_submit(void)
|
|||
pcm.pos = 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
void rockboy_pcm_init(void)
|
||||
{
|
||||
pcm.hz = 44100;
|
||||
pcm.stereo = 1;
|
||||
pcm.buf = NULL;
|
||||
pcm.len = 0;
|
||||
pcm.pos = 0;
|
||||
}
|
||||
|
||||
void rockboy_pcm_close(void)
|
||||
{
|
||||
memset(&pcm, 0, sizeof pcm);
|
||||
}
|
||||
|
||||
int rockboy_pcm_submit(void)
|
||||
{
|
||||
pcm.pos =0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue