question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add test files to NAudioTests and remove absolute paths

See original GitHub issue

Test files should be added to NAudioTests project. For example

var testFile = @"C:\Users\Mark\Code\CodePlex\pcm mono 16 bit 8kHz.wav";

from GsmEncodeTest.cs. Some tests failed or ignored due to absense of these files.

@markheath, can you attach here the following files:

C:\Users\Mark\Code\CodePlex\gsm.wav
F:\Recording\wav\pcm\16bit mono 8kHz.wav
F:\Recording\wav\pcm\32bit stereo 8kHz.wav
C:\Users\Public\Music\Coldplay\X&Y\01-Square One.mp3
D:\Audio\Music\Coldplay\Mylo Xyloto\03 - Paradise.mp3
C:\Users\mheath\Downloads\NAudio\AAC\halfspeed.aac
C:\Users\Mark\Downloads\Region-1.wav

and mp3 files from C:\Users\Mark\Downloads\NAudio. I or somebody else will add them to tests project.

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
markheathcommented, Sep 29, 2016

maybe, will try to review those tests at some point to see what audio files are actually needed. My main focus for now is getting ready for 1.8 release

0reactions
KvanTTTcommented, Sep 29, 2016

Maybe it’s time to try GitHub large file storage 😎

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to use absolute import paths when writing tests for a ...
Assume you need a config.js file present at your project's root in a file which is present at /routes/api/users/profile.js , you do not...
Read more >
Remove absolute path support in Dir.open functions #7540
I propose removing support for absolute paths in the Dir functions. ... file.close(); const parsed = try parseFile(tmp.dir, "test"); ...
Read more >
Relative paths for test resources - ADM Help Centers
Relative paths are useful if your test's resources are stored in the file system and you want other users or products to be...
Read more >
File path formats on Windows systems
In this article, learn about file path formats on Windows systems, such as traditional DOS paths, DOS device paths, and universal naming ...
Read more >
Remove absolute paths from NFO files : r/jellyfin
Is it possible in the future to remove these absolute paths from NFO files? That would make it WAY easier to move libraries...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found