Skip to content

Commit

Permalink
Handle query HW params for PulseAudio
Browse files Browse the repository at this point in the history
HW parameters query handler implementation was missed for
PulseAudio. Implement this by returning the same parameters
as in the corresponding request as PulseAudio is much more
permissive than ALSA and can handle virtually any parameter
set.

Signed-off-by: Oleksandr Andrushchenko <[email protected]>
Reviewed-by: Oleksandr Grytsov [email protected]
  • Loading branch information
Oleksandr Andrushchenko authored and al1img committed Apr 24, 2018
1 parent 6301b1a commit 21d8525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PulsePcm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ void PulsePcm::connectCaptureStream(const char* deviceName)

void PulsePcm::queryHwRanges(SoundItf::PcmParamRanges& req, SoundItf::PcmParamRanges& resp)
{
throw Exception("NOT IMPLEMNTED " + mName, PA_ERR_UNKNOWN);
resp = req;
}

}

0 comments on commit 21d8525

Please sign in to comment.