minor fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17854 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
98c9e9e897
commit
2af5dee4b4
@ -449,12 +449,12 @@ BSoftSynth::Init()
|
||||
|
||||
fSynth = new_fluid_synth(fSettings);
|
||||
|
||||
media_raw_audio_format format;
|
||||
media_raw_audio_format format = media_raw_audio_format::wildcard;
|
||||
format.channel_count = 2;
|
||||
format.frame_rate = fSampleRate;
|
||||
format.format = media_raw_audio_format::B_AUDIO_FLOAT;
|
||||
|
||||
fSoundPlayer = new BSoundPlayer(&format, "softsynth", &PlayBuffer, NULL, this);
|
||||
fSoundPlayer = new BSoundPlayer(&format, "Soft Synth", &PlayBuffer, NULL, this);
|
||||
status_t err = fSoundPlayer->InitCheck();
|
||||
if (err != B_OK)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user