summaryrefslogtreecommitdiffstats
path: root/src/audio_core/stream.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* audio_core/buffer: Make const and non-const getter for samples consistentLioncash2019-02-161-1/+1
| | | | This way proper const/non-const selection can occur.
* core_timing: Convert core timing into a classLioncash2019-02-161-6/+5
| | | | | | | | | | | Gets rid of the largest set of mutable global state within the core. This also paves a way for eliminating usages of GetInstance() on the System class as a follow-up. Note that no behavioral changes have been made, and this simply extracts the functionality into a class. This also has the benefit of making dependencies on the core timing functionality explicit within the relevant interfaces.
* core_timing: Rename CoreTiming namespace to Core::TimingLioncash2019-02-121-3/+4
| | | | | | Places all of the timing-related functionality under the existing Core namespace to keep things consistent, rather than having the timing utilities sitting in its own completely separate namespace.
* dsp_interface: fix sound being played while volume is 0fearlessTobi2019-01-261-1/+1
| | | | | According to documentation, if the argument of std::exp is zero, one is returned. However we want the return value to be also zero in this case so no audio is played.
* audio_core: Convert LOG_CRITICAL + UNREACHABLE over to UNIMPLEMENTED/UNIMPLEMENTED_MSGLioncash2018-12-281-4/+3
| | | | | | These two macros being used in tandem were used prior to the introduction of UNIMPLEMENTED and UNIMPLEMENTED_MSG. This provides equivalent behavior, just with less typing/reading involved.
* microprofile: Drop ReleaseActiveBuffer scope.Markus Wick2018-11-061-4/+0
| | | | | This was created with the unfinished resampling PR in mind. As the resampling is now on the audio thread, we don't need to care about this here any more.
* stream: Preserve enum class type in GetState()Lioncash2018-09-241-2/+2
| | | | | | Preserves the meaning/type-safetiness of the stream state instead of making it an opaque u32. This makes it usable for other things outside of the service HLE context.
* Added audren:u#GetAudioRendererStateDavid Marcec2018-09-231-0/+5
|
* stream: Replace includes with forward declarations where applicableLioncash2018-09-171-0/+1
| | | | | Avoids propagating includes in headers where it's not necessary to do so.
* Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi2018-09-151-4/+4
|
* audio_core: Flush stream when not playing anythingMerryMage2018-09-121-0/+2
|
* Add audio stretching supportfearlessTobi2018-09-081-0/+1
|
* Update microprofile scopes.Markus Wick2018-09-041-0/+4
| | | | | | Blame the subsystems which deserve the blame :) The updated list is not complete, just the ones I've spotted on random sampling the stack trace.
* audio_core: Use s16 where possible for audio samples.bunnei2018-08-051-14/+5
|
* audio_core: Streams need unique names for CoreTiming.bunnei2018-08-041-3/+4
|
* audio_core: Add configuration settings.bunnei2018-08-011-7/+28
|
* audio_core: Implement Sink and SinkStream interfaces with cubeb.bunnei2018-07-311-0/+11
|
* audio_core: Misc. improvements to stream/buffer/audio_out.bunnei2018-07-311-12/+12
|
* audio_core: Add initial code for keeping track of audout state.bunnei2018-07-281-0/+103