ao: Get rid of E_AO_BAD_SAMPLE_FORMAT.
[paraslash.git] / ao_write.c
index 92f62f8f87cf9bedd4a1b50942326f5e9ef2029c..447dea84c00a468330fe8229bfd70b74292264bd 100644 (file)
@@ -87,7 +87,7 @@ static int aow_set_sample_format(unsigned sample_rate, unsigned channels,
                case SF_U8:
                case SF_U16_LE:
                case SF_U16_BE:
-                       return -E_AO_BAD_SAMPLE_FORMAT;
+                       return -E_BAD_SAMPLE_FORMAT;
                case SF_S8:
                        /* no need to set byte_format */
                        result->bits = 8;