19 Jun '13 - 17:34 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  Developments / BASS / Re: BASS for iOS (iPhone/iPad) on: 4 Aug '11 - 16:53
But I can not encode AAC on the device. The iOS version of my device is 4.3.3.

It totally slipped my mind earlier, but I suspect the issue is the BASS_CONFIG_IOS_MIXAUDIO setting. That needs to be set to 0 (via BASS_SetConfig) in order to use AAC encoding. I will add a note of that in the 1st post (it's currently only mentioned somewhere in amongst this large thread).

Thank you Ian! It works fine. Smiley
ReplyReply Reply with quoteQuote
2  Developments / BASS / Re: BASS for iOS (iPhone/iPad) on: 30 Jul '11 - 05:48
I tried other source file formated MP3 and WAV, but same problem was happened.

I also tried from AAC file by the following setting. All of them worked fine.
BASS_Encode_StartCAFile(channel, 'm4af', 'alac', 0, 0, "output.m4a");

BASS_Encode_StartCAFile(channel, 'AIFC', 'ima4', 0, 0, "output.aif");

BASS_Encode_StartCAFile(channel, 'WAVE', 'ulaw', 0, 0, "output.wav");


And there was no problem on the simulator. The channel was encoded to AAC.
But I can not encode AAC on the device. The iOS version of my device is 4.3.3.
ReplyReply Reply with quoteQuote
3  Developments / BASS / Re: BASS for iOS (iPhone/iPad) on: 29 Jul '11 - 04:09
The format of the source file is AAC. These were imported from CD using iTunes.
And channel info from BASS_ChannelGetInfo() as follows.

freq : 44100
chans : 2
flags : 0x10114
ctype : 0x10007
origres : 0


Is there any problem?
ReplyReply Reply with quoteQuote
4  Developments / BASS / Re: BASS for iOS (iPhone/iPad) on: 27 Jul '11 - 07:59
Hello,

I am trying to export a channel to AAC file using BASSenc in iPhone 4 and  it's not working.

I have tried this code:
BASS_Encode_StartCAFile(channel, 'mp4f', 'aac ', 0, 128000, "output.mp4");

But error BASS_ERROR_FORMAT is returned by BASS_ErrorGetCode().

I also tried in AIFC and ALAC format with the same channel, and these work fine.
How can I output it in AAC?

Thanks in advance.
ReplyReply Reply with quoteQuote
5  Developments / BASS / Re: BASS for iOS (iPhone/iPad) on: 18 Mar '11 - 15:17
Hi JOBnik,

This beta file seems to work correctly Smiley

Build of my app succeeded with Xcode 4 and worked on iPhone 4.
I confirmed at least pitch and tempo control function.

Thanks!
ReplyReply Reply with quoteQuote
6  Developments / BASS / Re: BASS for iOS (iPhone/iPad) on: 10 Mar '11 - 13:51
Hi,
I'm having the same issue using Xcode 4 (final release).
Do I need new libs of BASS_FX?

Thanks in advance.

Ld "/Users/ppeau/Library/Developer/Xcode/DerivedData/TurnTable_Simulation-afkttdegvfkwuaehbajwipzwknjd/Build/Products/Debug-iphoneos/TurnTable Simulation.app/TurnTable Simulation" normal armv7
    cd "/Users/ppeau/Dropbox/TurnTable Simulation/TurnTable Simulation"
    setenv IPHONEOS_DEPLOYMENT_TARGET 4.3
    setenv PATH "/Users/ppeau/Xcode4/Platforms/iPhoneOS.platform/Developer/usr/bin:/Users/ppeau/Xcode4/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Users/ppeau/Xcode4/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2 -arch armv7 -isysroot /Users/ppeau/Xcode4/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -L/Users/ppeau/Library/Developer/Xcode/DerivedData/TurnTable_Simulation-afkttdegvfkwuaehbajwipzwknjd/Build/Products/Debug-iphoneos "-L/Users/ppeau/Dropbox/TurnTable Simulation/TurnTable Simulation" -F/Users/ppeau/Library/Developer/Xcode/DerivedData/TurnTable_Simulation-afkttdegvfkwuaehbajwipzwknjd/Build/Products/Debug-iphoneos -filelist "/Users/ppeau/Library/Developer/Xcode/DerivedData/TurnTable_Simulation-afkttdegvfkwuaehbajwipzwknjd/Build/Intermediates/TurnTable Simulation.build/Debug-iphoneos/TurnTable Simulation.build/Objects-normal/armv7/TurnTable Simulation.LinkFileList" -dead_strip -miphoneos-version-min=4.3 -framework AudioToolbox -framework AVFoundation -framework CFNetwork -framework CoreGraphics -framework Foundation -framework QuartzCore -framework SystemConfiguration -framework UIKit -lbass_fx -lbass -o "/Users/ppeau/Library/Developer/Xcode/DerivedData/TurnTable_Simulation-afkttdegvfkwuaehbajwipzwknjd/Build/Products/Debug-iphoneos/TurnTable Simulation.app/TurnTable Simulation"

ld: warning: ignoring file /Users/ppeau/Dropbox/TurnTable Simulation/TurnTable Simulation/libbass_fx.a, file was built for archive which is not the architecture being linked (armv7)

ld: warning: ignoring file /Users/Mitsuhiro/Documents/iPhone APP/robick/libbass_fx.a, file was built for archive which is not the architecture being linked (armv7)
Undefined symbols for architecture armv7:
  "_BASS_FX_TempoGetSource", referenced from:
      -[AudioControllerBASS setIsReverse:] in AudioControllerBASS.o
      -[AudioControllerBASS setIsHighQuality:] in AudioControllerBASS.o
  "_BASS_FX_TempoCreate", referenced from:
      -[AudioControllerBASS setupBASS:] in AudioControllerBASS.o
  "_BASS_FX_ReverseCreate", referenced from:
      -[AudioControllerBASS setupBASS:] in AudioControllerBASS.o
ld: symbol(s) not found for architecture armv7
collect2: ld returned 1 exit status
ReplyReply Reply with quoteQuote
Pages: [1]
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines