diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2007-06-10 02:10:47 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2007-06-10 02:10:47 +0000 |
commit | 4597ebe24b5300f9e0009ae5a4e08a0527214e94 (patch) | |
tree | a1d5c3e6c305b5033efca4827e9e2d116662bda3 /apps/playback.c | |
parent | 19cc9d063a22cd5162e164d8f5e2fe98944c3721 (diff) | |
download | rockbox-4597ebe24b5300f9e0009ae5a4e08a0527214e94.tar.gz rockbox-4597ebe24b5300f9e0009ae5a4e08a0527214e94.zip |
Plugins that play sound must be sure to set inputs and outputs on audio muxed targets. Add strict adherence to the interface protocols. Make sure playback sets the playback output as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13604 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playback.c')
-rw-r--r-- | apps/playback.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/playback.c b/apps/playback.c index 9cd82de9b6..ca88b5f5e3 100644 --- a/apps/playback.c +++ b/apps/playback.c | |||
@@ -3303,6 +3303,7 @@ static void audio_play_start(size_t offset) | |||
3303 | { | 3303 | { |
3304 | #if INPUT_SRC_CAPS != 0 | 3304 | #if INPUT_SRC_CAPS != 0 |
3305 | audio_set_input_source(AUDIO_SRC_PLAYBACK, SRCF_PLAYBACK); | 3305 | audio_set_input_source(AUDIO_SRC_PLAYBACK, SRCF_PLAYBACK); |
3306 | audio_set_output_source(AUDIO_SRC_PLAYBACK); | ||
3306 | #endif | 3307 | #endif |
3307 | 3308 | ||
3308 | /* Wait for any previously playing audio to flush - TODO: Not necessary? */ | 3309 | /* Wait for any previously playing audio to flush - TODO: Not necessary? */ |