{"action":"created","issue":{"url":"https://api.github.com/repos/mjibson/go-dsp/issues/12","labels_url":"https://api.github.com/repos/mjibson/go-dsp/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/mjibson/go-dsp/issues/12/comments","events_url":"https://api.github.com/repos/mjibson/go-dsp/issues/12/events","html_url":"https://github.com/mjibson/go-dsp/issues/12","id":60276864,"number":12,"title":"float32 support (or: mismatch in APIs)","user":{"login":"hraban","id":137852,"avatar_url":"https://avatars.githubusercontent.com/u/137852?v=3","gravatar_id":"","url":"https://api.github.com/users/hraban","html_url":"https://github.com/hraban","followers_url":"https://api.github.com/users/hraban/followers","following_url":"https://api.github.com/users/hraban/following{/other_user}","gists_url":"https://api.github.com/users/hraban/gists{/gist_id}","starred_url":"https://api.github.com/users/hraban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hraban/subscriptions","organizations_url":"https://api.github.com/users/hraban/orgs","repos_url":"https://api.github.com/users/hraban/repos","events_url":"https://api.github.com/users/hraban/events{/privacy}","received_events_url":"https://api.github.com/users/hraban/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-08T21:21:26Z","updated_at":"2015-03-09T19:08:21Z","closed_at":null,"body":"The golang-users thread you announced this in suggests you used to have a float32 interface, but replaced it by float64, right? I'm asking because Im currently writing float32tofloat64 and float64tofloat32 array conversion routines and Im wondering why. The wav package produces float32s, but the other packages consume float64, which feels a little weird for two packages from the same repos.\r\n\r\nI'm trying to tie it into some opus unit tests and libopus also works with float32, as I assume many others do.\r\n\r\nIm curious to know: what made you drop float32?"},"comment":{"url":"https://api.github.com/repos/mjibson/go-dsp/issues/comments/77920925","html_url":"https://github.com/mjibson/go-dsp/issues/12#issuecomment-77920925","issue_url":"https://api.github.com/repos/mjibson/go-dsp/issues/12","id":77920925,"user":{"login":"mjibson","id":41181,"avatar_url":"https://avatars.githubusercontent.com/u/41181?v=3","gravatar_id":"","url":"https://api.github.com/users/mjibson","html_url":"https://github.com/mjibson","followers_url":"https://api.github.com/users/mjibson/followers","following_url":"https://api.github.com/users/mjibson/following{/other_user}","gists_url":"https://api.github.com/users/mjibson/gists{/gist_id}","starred_url":"https://api.github.com/users/mjibson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjibson/subscriptions","organizations_url":"https://api.github.com/users/mjibson/orgs","repos_url":"https://api.github.com/users/mjibson/repos","events_url":"https://api.github.com/users/mjibson/events{/privacy}","received_events_url":"https://api.github.com/users/mjibson/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T19:08:21Z","updated_at":"2015-03-09T19:08:21Z","body":"I did not drop float32; it was never added. The wav package returns float32 because that's what a wav file contains (it can also return uint8 and int16, depending on the kind of data in the wav file). It was recommended (I think by Pike) to just have a duplicate package/API that accepts float32s. I never got around to making a script to automate that work, but it could happen."}}