• 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
Beginner's stupid question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Beginner's stupid question


  • Subject: Beginner's stupid question
  • From: "Xie Kaiduan" <email@hidden>
  • Date: Mon, 22 Sep 2003 18:31:19 +0000

Hi,

Please forgive me for putting the stupid questions. I just shifted from Linux to MAC OSX.

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?

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?

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,

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,:)

kaiduan

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
_______________________________________________
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: Doug Wyatt <email@hidden>
  • Prev by Date: Re: bandwidth limits
  • Next by Date: Reading bytes from an audio file
  • Previous by thread: Re: bandwidth limits
  • Next by thread: Re: Beginner's stupid question
  • Index(es):
    • Date
    • Thread