Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AudioFileWriter write only 16-bit PCM #101

Open
oferraz opened this issue Dec 15, 2014 · 3 comments
Open

AudioFileWriter write only 16-bit PCM #101

oferraz opened this issue Dec 15, 2014 · 3 comments

Comments

@oferraz
Copy link

oferraz commented Dec 15, 2014

I am reading in a 2 channels 32-bit float but when I am writing it out using the AudioFileWriter, it keeps writing out a 16-bit file. Is there a way to change it?

Thanks,

Ofer

@alexbw
Copy link
Owner

alexbw commented Dec 15, 2014

I consider the AudioFileWriter to be deprecated. There's a lot of nuance in the setup of files that is simply not exposed very well to the user. AudioFileWriter and AudioFileReader will require a rewrite at some point in the future.

@oferraz
Copy link
Author

oferraz commented Dec 15, 2014

Thanks Alex. Can you tip me on what need to be change in order to save a 32bit file?

@alexbw
Copy link
Owner

alexbw commented Dec 15, 2014

It has been awhile since I've worked on audio file formats in ObjC, so I can only point you to Apple's official audio API documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants