mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
More prep for plugging in alternate audio decoders
This commit is contained in:
1 parent
32ca7ab59a
commit
1938d3b876
7 files changed
+31
-28
No files matched your search
@@ -189,7 +189,7 @@ public:
|
||||
|
||||
wave_.Read(file_);
|
||||
|
||||
decoder_ = new SimpleAudio(wave_.codec, wave_.sample_rate, wave_.num_channels);
|
||||
decoder_ = CreateAudioDecoder((PSPAudioType)wave_.codec, wave_.sample_rate, wave_.num_channels);
|
||||
if (wave_.codec == PSP_CODEC_AT3) {
|
||||
decoder_->SetExtraData(&wave_.at3_extradata[2], 14, wave_.raw_bytes_per_frame);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user