Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write a test that prints out the default latency values for each device #201

Closed
PortAudio-admin opened this issue Dec 8, 2011 · 7 comments
Labels
audit Check conformance to documentation or expectations good first issue Good for newcomers P2 Priority: High
Milestone

Comments

@PortAudio-admin
Copy link
Collaborator

Issue created by @RossBencina

Write a test that prints out host api and default latency values for each device. The output of this test need to be reviewed for each host API.

For each device print name, host API and the four default values:

device index, device name, host api name, default high input, default low input, default high output, default low output

This is needed as part of the process of resolving ticket #202, #97

@PortAudio-admin
Copy link
Collaborator Author

Comment by @RossBencina

TRAC migration: propagating ticket status from TRAC

@PortAudio-admin
Copy link
Collaborator Author

PortAudio-admin commented Aug 23, 2015

@PortAudio-admin
Copy link
Collaborator Author

Comment by @williamspinelli

Here is a little patch that I put together. For every device it prints a report like this

Device #1 (0 in, 2 out)
 Name                        = Built-in Output
 Host API                    = Core Audio
 Default low input latency   = 0.0100
 Default high input latency  = 0.1000
 Default low output latency  = 0.0100
 Default high output latency = 0.0201

Could this be something acceptable? Or a different display format should be used?

@PortAudio-admin
Copy link
Collaborator Author

Comment by @RossBencina

@wspinelli

Thank you. The purpose of this test is to output data that we can combine into a survey of all host APIs. For this reason I think it would be best to have tabular output with one device per line.

For the table format I think either CSV or Textile (assembla) table mark up. Textile tables are just | separated values instead of comma separated (see: http://redcloth.org/hobix.com/textile/quick.html#tables). It's not necessary to vertically align things, although of course that would be nice. My personal vote is for the Textile format, then we can paste the output straight into the Wiki.

I think that you have the correct fields. I would like to see the columns in this order:

  1. First column with an X in it if any default latencies are zero, otherwise first column is blank.
  2. Device number
  3. Host API
  4. Name
  5. x in
  6. x out
  7. .. default latencies

I hope that is OK, if you have a better idea, please shout out.

@PortAudio-admin
Copy link
Collaborator Author

Comment by @williamspinelli

@rbencina

So be Textile tabular format with vertically aligned columns =)
Using a format compatible with the wiki is for sure the best choice

@Vimal-Krishna
Copy link
Contributor

Hi. I hope I can take this up and complete it. I have something working and will share an update soon.

@Vimal-Krishna
Copy link
Contributor

Created a PR with screenshot of the outputs - #844

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
audit Check conformance to documentation or expectations good first issue Good for newcomers P2 Priority: High
Projects
None yet
Development

No branches or pull requests

2 participants