Antonio писал(а):
Есть вопрос: на каких звуковых картах это будет работать?
У меня пока что работает только графическая часть demo Forte.
К слову, в плейере Pixie тоже звука нет.
I tested on Qemu with HDA codec (-soundhw hda). All applications use a common audio driver, therefore first try to set up the sound in any of them, e.g. Pixie. Then all the other apps should produce sounds too.
Antonio писал(а):
Частоту 48000, указанную в примере, поддерживают не все аудиокарты, есть смысл её понизить до стандартной 44100 для большей совместимости.
I'm not sure how Infinity driver does resampling. May be
Serge, its author, will address your question.
Antonio писал(а):
Формат файлов raw мне раньше не встречался, какие у него преимущества перед более распространенным wav?
Raw is not actually a file format, it's just a file extension / filename suffix suggesting that there is no internal structure in the file and samples are written as is. I.e. you don't have to decode this file. Read it into memory and play, that's it.
Antonio писал(а):
Ну и последнее замечание - это отсутствие поддержки клавиатуры.
Так что, мы всё ещё далеко от цели.
Keyboard support is far more simpler to implement in kolibri than dealing with audio. I helped you with the harder part. Consider it as an example or a skeleton.
Antonio писал(а):
А в остальном - всё ОК, только не мешало бы побольше комментариев в коде.
Для начинающих.
You are right, documentation is the real issue in the project. This is not an excuse even though I did the demo late at night. That's why I encourage you to not be shy and ask any related questions.
Antonio писал(а):
Спасибо
Good luck with your project.