summaryrefslogtreecommitdiffstats
path: root/tests/check/pipelines/flacdec.c
Commit message (Collapse)AuthorAgeFilesLines
* tests/pipeline/flac: Fix build on macosx 10.5Edward Hervey2009-10-131-1/+1
|
* tests: turn g_print into debugWim Taymans2009-06-161-2/+2
|
* check: Don't change directory in the testJan Schmidt2009-05-161-12/+27
| | | | | | | | Changing directory invalidates the paths the registry has picked up for our plugins, because the test environment specifies relative paths. Fixing that is a separate problem, in the meantime, build a path to the test files instead of changing directory. Fixes the distcheck.
* checks: move files required by unit tests into tests/files and make sure ↵Tim-Philipp Müller2009-05-151-18/+9
| | | | | | | | | | they're disted Move unit test data into the directory where it belongs and make in particular the flacdec unit test cd into the directory with the test files instead of making assumptions about the current working directory in that unit test. As a side effect of movng those files, there's only one EXTRA_DIST in tests/check/Makefile.am now, which is likely to work better than having two. Hopefully fixes #582753.
* checks: fix flacdec unit tests on big-endian machines and under valgrindTim-Philipp Müller2009-05-131-25/+58
| | | | | | | | Flacdec outputs 16-bit samples, so let's check if the value of the first sample is what we expect rather than just the first byte, which may be different from what we expect depending on the host's endianness. Fixes the flacdec unit tests on PPC. Also fix a bunch of leaks in the unit tests to make valgrind happy. Fixes #582420.
* add debug and an assertThomas Vander Stichele2009-04-041-1/+7
|
* add a test to check that we get all decoded bytesThomas Vander Stichele2009-04-041-0/+204
from a 10-buffer audiotestsrc flac, in the case of: - a full decode - a decode of a seek for the full file - a decode of a seek for a small part, smaller than the first buffer The test fails because flacdec drops the first outgoing buffer on a seek