• 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31

iPod の音源は ExtAudioFileService では読めない。

ExtAudioFileOpenURL ExtAudioFileSetProperty

が noErr で返ってくるにも関わらず、

ExtAudioFileRead

が -4 で返ってくる。 -4 はMacErrors.h では unimpErr、unimplemented core routine

読むためには、AVAssetReader を使う。以下を参考。

http://www.subfurther.com/blog/2010/12/13/from-ipod-library-to-pcm-samples-in-far-fewer-steps-than-were-previously-necessary/

posted by Face Saturn on Thu 30 May 2013 at 22:22

rvm の対話インターフェイスが変わってとまどったのでメモ。

普通に rvm install 2.0.0 とやると、インストールに必要なパッケージが足りていない場合に

   1  rvm requirements

が実行されて、sudo することを求められます。 これでは sudo できないユーザーでrvm install できないので、 足りないパッケージを root でインストールしてあげればいいのですが、 何が足りないのか教えてくれません。

足りないパッケージを知るには、一度

   1  rvm autolibs read-only

してから

   1  rvm install 2.0.0

すると、

   1  Missing required packages: ...

と教えてくれるので、これをインストールして再度 rvm install すれば ok です。

posted by Png genki on Wed 15 May 2013 at 08:43
Contents
iPod の音源を読む
sudo できないユーザーで rvm install する方法のメモ
Comments
瀧内元気: MacOS版は以下にあります * [genki/ViMouse](https://githu... '23-1
KingofSmack: Here also good reads for this mobile applicatio... '14-5
Spencer: You don't have to re-compile it, this version w... '14-4
staiano: Any chance we can get a recompile for 10.9? '14-1
dsjf: https://gist.github.com/6bf1bf2c3cbb5eb6e7a7 これ... '13-1
Services from s21g
twpro(ツイプロ)
Twitterプロフィールを快適検索
地価2009
土地の値段を調べてみよう
MyRestaurant
自分だけのレストラン手帳
Formula
ブログに数式を埋め込める数式コミュニティ