• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Beginner's stupid question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Beginner's stupid question


  • Subject: Re: Beginner's stupid question
  • From: Doug Wyatt <email@hidden>
  • Date: Tue, 23 Sep 2003 08:11:45 -0700

On Sep 22, 2003, at 11:31, Xie Kaiduan wrote:
1. In the project builder, I cannot set the arguments to the program while debugging. In the debugger console, I did as follows:

set args ~/hello
run

However, the command line options was not set.

But if I used gdb on a terminal, with the same method, the command line was set to the program. How to assign command line options to the program debugged in Project Builder?

Click the Targets panel in the left, find your program in Executables, click it, and then you can add launch arguments there.

It sounds like PB is overriding the arguments you're entering manually.

2. Another strange and stupid question is Option-double-click does not work. For example, I need to access the documentation for AudioAddIOProc in the editor of Project Builder, I pressed the option key on the keyboard and the double click the mouse on AudioAddIOProc, there is no documentation poped up. How to do that?

Try command-double-clicking.

3. This question is related to Audio device, what is the difference between "Physical format" and "format" for a channel. To be straight, with DisplayHALDeviceInfo from /Developer/Example/CoreAudio,

The physical format is the format of the samples the driver is actually working with. You generally don't need to know this (there are a few situations where it may be useful, but at least for getting started, there's no reason to be concerned with it.

The (plain) format is the format of the samples that you send/receive in your IOProc.

Doug


Current format
Format ID: 'lpcm'
Format flags: 0xB
Sample rate: 44100.000
Bytes per packet: 8
Frames per packet: 1
Bytes per frame: 8
Channels per frame: 2
Bits per channel: 32
---------------------
Current physical format
Format ID: 'lpcm'
Format flags: 0x1E
Sample rate: 44100.000
Bytes per packet: 4
Frames per packet: 1
Bytes per frame: 4
Channels per frame: 2
Bits per channel: 16

Thanks for help and tolerating these stupid questions,:)
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Beginner's stupid question
      • From: Chris Reed <email@hidden>
References: 
 >Beginner's stupid question (From: "Xie Kaiduan" <email@hidden>)

  • Prev by Date: when using different devices
  • Next by Date: Channels versus Streams
  • Previous by thread: Beginner's stupid question
  • Next by thread: Re: Beginner's stupid question
  • Index(es):
    • Date
    • Thread