Implement wav audio::track using raw track
This commit is contained in:
parent
a67e00d601
commit
cbd5a15ce8
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ namespace psemek::audio
|
|||
sdl2::fail("SDL_LoadWAV_RW failed:");
|
||||
|
||||
util::at_scope_exit release_samples([samples]{ SDL_FreeWAV(samples); });
|
||||
return make_duplicator(make_recorder(convert_audio(spec, samples, length)));
|
||||
return load_raw(convert_audio(spec, samples, length));
|
||||
}
|
||||
|
||||
track_ptr load_wav(std::vector<char> const & data)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue