Fork us on GitHub Follow us on Facebook Follow us on Twitter

Ignore:
Timestamp:
2012-07-16T21:06:11Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial
Children:
389ef25
Parents:
50fa3f7
Message:

hound: Implement audio format covnersion.

No resampling yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/audio/hound/audio_source.c

    r50fa3f7 rbb67def  
    116116                return EINVAL;
    117117        }
    118         if (!audio_format_same(&source->format, f)) {
    119                 log_debug("Format conversion is not supported yet");
     118        if (source->format.sampling_rate != f->sampling_rate) {
     119                log_debug("Resampling is not supported, yet");
    120120                return ENOTSUP;
    121121        }
Note: See TracChangeset for help on using the changeset viewer.