Bugzilla – Bug 2199
crash after attempting to export as OGG at very high sample rate
Last modified: 2019-08-25 08:28:01 UTC
Created attachment 855 [details] backtrace Reported and tested on Linux. The Vorbis specification says that sample rates up to 192 kHz are supported. On attempting to export at a much higher sample rate, say 384 kHz, the export fails with the error: "Unable to export". On clicking "OK" on the error dialog, Audacity crashes. Also, a useful enhancement would be a more meaningful error message, such as including "sample rate too high". Backtrace attached.
This is arguably P1, but I've set it as P2 because of (a) the rarity of people using such high sample rates, (b) it makes no sense to export in OGG format at such high sample rates as OGG has a cut-off at around 20 kHz.
(In reply to Steve Daulton from comment #1) > OGG has a cut-off at around 20 kHz. Not true. OGG has a cut-off of around 20 kHz at normal "quality" settings, but at highest quality it can go right up to 96 kHz.
DEVEL - FIX MADE https://github.com/audacity/audacity/commit/c32b92c37763dbf9a9bab0eaf889b1e183219273
Testing on W10 with audacity-2.3.3-alpha-334-c32b92c37763dbf9a9bab0eaf889b1e183219273 At Step 3 I still get the error message (I assume this is expected behavior) But at Step $ Audacity no longer crashes. Looks to be fixed
And as Steve requested in Comment #0 the error message has been made more helpful