Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My reading is not that they're saying it's something they necessarily have deal with themselves, but that it's something they can't practically avoid.


But they CAN practically avoid it. lol. Just let the system do it for them.


If my audio files are 44.1kHz, and the user plays 48kHz audio at the same time, how do I practically avoid my audio being resampled?


You cannot avoid it either way then, I guess. Either you let the system do it for you, or you take matters into your own hands. But why do you feel it necessary to take matters into your own hands? I think that's the actual question that begs answering. Are you unsatisfied with how the system does the resampling? Does it result in a worse quality than your own implementation of resampling? Or is there another reason?


I don't feel it necessary to take matters into my own hands. If you read my original message again:

    > Either my game has to resample from 44.1kHz to 48kHz
    > before sending it to the system, or the system
    > sound mixer needs to resample it to 48kHz, or the
    > system sound mixer needs to resample the other software
    > from 48kHz to 44.1kHz
I expressed no preference with regard to those 3. I was outlining the theoretically possible options, to illustrate that there is no way to avoid resampling.


I got a different impression, because you also wrote:

> If only it was that simple T_T

Which to me sounded like _for you_ it's not simple because reasons, which led me to believe, that you _do_ want to take it into your own hands, making it not simple, ergo not being able to let the OS do it, for reasons. Now I understand what you mean, thanks!


I suppose, if you interpret "avoid" as "not care about".


I interpret them to mean "avoid doing it oneself" not "avoid it happening entirely".


If you read the comments with the other interpretation I think the conversation will make more sense.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: