mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Refactor audio thread to run both recording and playback.
Eliminates the pcmrec thread and keeps playback and recording engine
operation mutually-exclusive.
audio_thread.c contains the audio thread which branches to the
correct engine depending upon the request. It also handles the main
audio initialization.
Moves pcm_init into main.c just before dsp_init because I don't want
that one in audio_init in the new file.
(Also makes revision df6e1bc
pointless ;)
Change-Id: Ifc1db24404e6d8dd9ac42d9f4dfbc207aa9a26e1
This commit is contained in:
parent
df6e1bcce5
commit
5857c44017
11 changed files with 553 additions and 564 deletions
|
@ -26,6 +26,7 @@
|
|||
#include "codecs.h"
|
||||
#include "codec_thread.h"
|
||||
#include "pcmbuf.h"
|
||||
#include "audio_thread.h"
|
||||
#include "playback.h"
|
||||
#include "buffering.h"
|
||||
#include "dsp_core.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue