Questions tagged [caf]

CAF (Core Audio Format) is a container audio file format developed by Apple. CAF files can contain audio data of a variety of different formats and are not limited to 4GB in size. The format is used by certain Apple products (such as Apple Loops) and is supported on both Mac OS X and iOS platforms.

CAF (Core Audio Format) is a container audio file format developed by Apple. CAF files can contain audio data of a variety of different formats and, unlike AIFF and WAVE format files, are not limited to a size of 4GB. The format is used by certain Apple products (such as Apple Loops) and is supported on both Mac OS X and iOS platforms.

78 questions
14
votes
7 answers

How do I use afconvert to convert all the files in a directory from wav to caf?

I have a directory with about 50 wav files that I need to convert to caf, because AudioServicesCreateSystemSoundID() returns an error for some of them (but not all). Here's an example of the command I've used successfully for a single…
Elliot
  • 6,086
  • 11
  • 45
  • 57
5
votes
1 answer

Android call recording using ALSA / CAF

I'm writing a small call recording library for my rooted phone. I saw in some application that recording is done through ALSA or CAF on rooted phones. I couldn't find any example / tutorial on how to use ALSA or CAF for call recording (or even for…
Oren
  • 937
  • 1
  • 10
  • 34
5
votes
2 answers

can i direct play .caf file in android?

Possible Duplicate: Can an Android phone decode and play back a *.caf file w/ iLBC codec? I am developing such type of application ,In my android application play a1.caf file . I want to know ,is possible to play .caf file in android. If yes…
Hemantvc
  • 2,111
  • 3
  • 30
  • 42
5
votes
1 answer

How to record using AVAudioRecorder without the .caf container?

I am using a AVAudioRecorder instance to record with the setting for AVFormatIDKey set to kAudioFormatMPEG4AAC. It records the audio in AAC format but a .caf audio container packages the audio file. (I can see the caff header in the recorder…
rahulg
  • 2,183
  • 3
  • 33
  • 47
4
votes
0 answers

ios - How to use ExtAudioFileConvert sample in a new project

All I wanted was to read a caf file and write it to another file, in the hopes that perhaps I can manipulate it such as combine multiple files into one, or trimming. So I found Apples's own iPhoneExtAudioFileConvertTest Sample, which looks very…
bendigi
  • 590
  • 6
  • 15
4
votes
0 answers

Record audio with another header than caf

I want to record audio in Opus format on iOS share it with other clients. I did this using this setting for AVAudioRecorder: let audioRecorderSettings = [AVNumberOfChannelsKey: 1, AVFormatIDKey : kAudioFormatOpus, …
Ali Samaiee
  • 301
  • 6
  • 14
4
votes
0 answers

LAME api for iOS - Setup

I have seen a very few posts on this issue. Everything is explained in a vague manner. Is there a way to know on the step by step setup of LAME api for iOS (http://lame.sourceforge.net/). If anyone can be patient enough to explain on the set up of…
Siddharthan Asokan
  • 4,321
  • 11
  • 44
  • 80
4
votes
0 answers

How can I convert an Apple IMA4 CAF file recorded with AVAudioRecorder to a WAV file using Core Audio Converter Services?

Note: I am an audio noob, so please forgive me if I say the wrong thing! I need to convert Apple IMA4 CAF audio files recorded with AVAudioRecorder to WAV files from within my app. The sample rate needs to be retained. My app needs to support 3.x,…
user1092719
  • 483
  • 1
  • 5
  • 17
3
votes
1 answer

Convert ogg files in angular to play in Safari

I want to play a audio/ogg; codecs=opus audio file in Safari browser. Due to some limitations, our server cannot do the conversion to some other format playable on Safari (caf-opus/wav/mp3). I wish to do the conversion, on the client side, from ogg…
user5155835
  • 4,392
  • 4
  • 53
  • 97
3
votes
1 answer

Converting audio file when uploaded to google cloud storage

I have an app, where users record audio and then "send" to each other. I'm writing "send", because actually the file is stored on server, and just provided to the recipient, when they want to listen. My issue is, that I need to reformat the…
Jakob
  • 4,784
  • 8
  • 53
  • 79
3
votes
2 answers

Apple *.caf files in HTML5

Can I include *.caf files in HTML5 tags or do I need to convert them first?
Newy
  • 38,977
  • 9
  • 43
  • 59
3
votes
4 answers

Sound working in emulator, not in real iPhone

Have few short sound effect samples, which play just fine in emulator, but not at all in real iPhone 3GS. Here's the code, about as-is from Apple SysSound sample: CFBundleRef mb = CFBundleGetMainBundle (); CFURLRef soundFileURLRef =…
JOM
  • 8,139
  • 6
  • 78
  • 111
3
votes
1 answer

iPhone - How to convert .caf audio files into .aac?

I am working on audio recording. I am able to record my audio in caf (Core audio format).i followed this tutorial Recording Audio on an iPhone with AVAudioRecorder. Now I don't want to record sound in .aac format directly, I need to convert…
Ravindhiran
  • 5,304
  • 9
  • 50
  • 82
2
votes
0 answers

Chromecast CAF v3: Shaka Player - Widevine, I can't configure the certificates

I am migrating an application developed in sdk v2 to v3 I understand that it uses shaka player, but I can't find a way to configure the preferences of the player, specifically I am looking to configure this in the player: drm: { servers:…
2
votes
1 answer

Google cast v3 CAF Receiver application with DRM url

I am trying to use the v3 CAF receiver app using DRM to casting videos, from my IOS app. If I use the basic v3 CAF receiver app (default receiver) it is working fine, but when I using DRM url (dash/.mpd and licenseUrl ) it will throw below…
Tushar Kadam
  • 173
  • 1
  • 1
  • 9
1
2 3 4 5 6