summaryrefslogtreecommitdiffstats
path: root/media/audio/audio_manager.cc
diff options
context:
space:
mode:
authorsatish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-02 16:16:49 +0000
committersatish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-02 16:16:49 +0000
commit3af7229b4f97f17b4f2aee34bd3ef3af7fd16e50 (patch)
tree3b19af016ec61763cbe6e4f5c925a5fbd3ac0c64 /media/audio/audio_manager.cc
parent4f8452d18c71301f141795eb95a9c2e0a8358aaf (diff)
downloadchromium_src-3af7229b4f97f17b4f2aee34bd3ef3af7fd16e50.zip
chromium_src-3af7229b4f97f17b4f2aee34bd3ef3af7fd16e50.tar.gz
chromium_src-3af7229b4f97f17b4f2aee34bd3ef3af7fd16e50.tar.bz2
This test now works for the mac audio capture code as well, and in a future CL I'll enable audio recording in linux and this test will suit that code too.
In the process I changed a uint32 in a function prototype to int because style guide recommends int for such cases. I also added parameter validation code to the mac audio manager to get it pass this new test. BUG=none TEST=media_unittests should succeed as before. Review URL: http://codereview.chromium.org/3357004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58365 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/audio/audio_manager.cc')
-rw-r--r--media/audio/audio_manager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/audio/audio_manager.cc b/media/audio/audio_manager.cc
index 7bb2402..3abd010 100644
--- a/media/audio/audio_manager.cc
+++ b/media/audio/audio_manager.cc
@@ -25,7 +25,7 @@ class NullAudioManager : public AudioManager {
return NULL;
}
virtual AudioInputStream* MakeAudioInputStream(AudioParameters params,
- uint32 samples_per_packet) {
+ int samples_per_packet) {
NOTIMPLEMENTED();
return NULL;
}